Property | Type | Description | |
---|---|---|---|
$routes |
Property | Type | Description | |
---|---|---|---|
$route | Flarum\Http\Handler\RouteHandlerFactory |
Method | Description | |
---|---|---|
__construct ( |
||
delete ( string $url, string $name, string $controller ) | ||
get ( string $url, string $name, string $controller ) | ||
patch ( string $url, string $name, string $controller ) | ||
post ( string $url, string $name, string $controller ) |
Method | Description | |
---|---|---|
route ( string $method, string $url, string $name, string $controller ) | ||
toController ( string $controller ) : callable |
public __construct ( |
||
$routes | ||
$route | Flarum\Http\Handler\RouteHandlerFactory |
protected toController ( string $controller ) : callable | ||
$controller | string | |
return | callable |
protected RouteHandlerFactory,Flarum\Http\Handler $route | ||
return | Flarum\Http\Handler\RouteHandlerFactory |