resolver
class resolver implements ControllerResolverInterface
Controller manager class
Properties
protected ContainerInterface | $container | ContainerInterface object |
|
protected template|null | $template | phpbb\template\template object |
|
protected type_cast_helper | $type_cast_helper | Request type cast helper object |
|
protected string | $phpbb_root_path | phpBB root path |
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(). Arguments are sent through the URL path and should match the parameters of the method you are using as your controller.
Details
at line 56
__construct(ContainerInterface $container, string $phpbb_root_path, template $template = null)
Construct method
at line 71
bool|callable
getController(Request $request)
Load a controller callable
at line 127
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.