Routing.php
TLDR
This file defines a class called Routing
in the Illuminate\Routing\Events
namespace. The class has a constructor that initializes a $request
property.
Classes
Routing
The Routing
class represents a routing event. It has a $request
property, which is an instance of the Illuminate\Http\Request
class. The class provides a constructor that accepts a $request
parameter and sets the $request
property to the provided value.
<?php
namespace Illuminate\Routing\Events;
class Routing
{
/**
* The request instance.
*
* @var \Illuminate\Http\Request
*/
public $request;
/**
* Create a new event instance.
*
* @param \Illuminate\Http\Request $request
* @return void
*/
public function __construct($request)
{
$this->request = $request;
}
}