Loader
Less than 1 minute
Loader
Properties
config
protected array $config
Methods
__construct
Loader constructor.
public __construct(array $config): void
Parameters
Parameter | Type | Description |
---|---|---|
$config | array |
initialise
public initialise(Router $router): bool
Parameters
Parameter | Type | Description |
---|---|---|
$router | Router |
evaluateRequest
Evaluates the request and sets the controller, action, and arguments based on the request path.
public evaluateRequest(Request $request): ?Route
Parameters
Parameter | Type | Description |
---|---|---|
$request | Request | the request object |
Generated by Hazaar API Doc Generator