class resolver implements ControllerResolverInterface
Controller manager class
Methods
__construct(ContainerInterface $container, string $phpbb_root_path, template $template = null)
Construct method |
||
bool|Callable |
getController(Request $request)
Load a controller callable |
|
array |
getArguments(Request $request, mixed $controller)
Dependencies should be specified in the service definition and can be then accessed in __construct(). |
Details
at line 56
public
__construct(ContainerInterface $container, string $phpbb_root_path, template $template = null)
Construct method
at line 71
public bool|Callable
getController(Request $request)
Load a controller callable
at line 127
public array
getArguments(Request $request, mixed $controller)
Dependencies should be specified in the service definition and can be then accessed in __construct().
Arguments are sent through the URL path and should match the parameters of the method you are using as your controller.