DebugRouterCommand
- Full name:
\CEKW\WpPlugin\DebugRouterCommand
- This class implements:
\CEKW\WpPlugin\CommandInterface
Table of contents
Properties
Name | Type | Description |
---|---|---|
routeCollection | \Symfony\Component\Routing\RouteCollection | Â |
Methods
__construct
DebugRouterCommand::__construct(\Symfony\Component\Routing\RouteCollection routeCollection)
Parameters:
Parameter | Type | Description |
---|---|---|
routeCollection | \Symfony\Component\Routing\RouteCollection | Â |
__invoke
Display additional routes added on top of WordPress.
OPTIONS
- [
] - The name of the route to get detailed information about.
EXAMPLES
wp cekw debug:router
wp cekw debug:router book_single
DebugRouterCommand::__invoke(array args, array assocArgs): mixed
Parameters:
Parameter | Type | Description |
---|---|---|
args | array | Â |
assocArgs | array | Â |
Returns: mixed
getControllerFromRoute
DebugRouterCommand::getControllerFromRoute(\Symfony\Component\Routing\Route route): string
Parameters:
Parameter | Type | Description |
---|---|---|
route | \Symfony\Component\Routing\Route | Â |
Returns: string