Property | Type | Description | |
---|---|---|---|
$description | string | The console command description. | |
$headers | array | The table headers for the command. | |
$name | string | The console command name. | |
$router | Dingo router instance. | ||
$routes | array | Array of route collections. |
Method | Description | |
---|---|---|
__construct ( |
Create a new routes command instance. | |
fire ( ) : void | Execute the console command. |
Method | Description | |
---|---|---|
filterByName ( array $route ) : boolean | Filter the route by its name. | |
filterByPath ( array $route ) : boolean | Filter the route by its path. | |
filterByProtected ( array $route ) : boolean | Filter the route by whether or not it is protected. | |
filterByScopes ( array $route ) : boolean | Filter the route by its scopes. | |
filterByUnprotected ( array $route ) : boolean | Filter the route by whether or not it is unprotected. | |
filterByVersions ( array $route ) : boolean | Filter the route by its versions. | |
filterRoute ( array $route ) : array | null | Filter the route by URI, Version, Scopes and / or name. | |
getOptions ( ) : array | Get the console command options. | |
getRoutes ( ) : array | Compile the routes into a displayable format. | |
routeRateLimit ( |
Display the routes rate limiting requests per second. This takes the limit and divides it by the expiration time in seconds to give you a rough idea of how many requests you'd be able to fire off per second on the route. |
public __construct ( |
||
$router | ||
return | void |
protected filterByName ( array $route ) : boolean | ||
$route | array | |
return | boolean |
protected filterByPath ( array $route ) : boolean | ||
$route | array | |
return | boolean |
protected filterByProtected ( array $route ) : boolean | ||
$route | array | |
return | boolean |
protected filterByScopes ( array $route ) : boolean | ||
$route | array | |
return | boolean |
protected filterByUnprotected ( array $route ) : boolean | ||
$route | array | |
return | boolean |
protected filterByVersions ( array $route ) : boolean | ||
$route | array | |
return | boolean |
protected getOptions ( ) : array | ||
return | array |
protected routeRateLimit ( |
||
$route | ||
return | null | string |
protected string $description | ||
return | string |
protected array $headers | ||
return | array |
protected Router,Dingo\Api\Routing $router | ||
return |