Route extends Entity
An entity which represent a function route
Table of Contents
- $class : string
- The class of the function
- $method : mixed
- The function pointed
- $request : Request
- The request to transmit as function argument
- __construct() : mixed
- empty() : Entity
- Create an empty Entity
Properties
$class
The class of the function
public
string
$class
$method
The function pointed
public
mixed
$method
$request
The request to transmit as function argument
public
Request
$request
Methods
__construct()
public
__construct(string $class, mixed $method, Request $request) : mixed
Parameters
- $class : string
- $method : mixed
- $request : Request
Return values
mixed —empty()
Create an empty Entity
public
static empty() : Entity