[ Index ]

PHP Cross Reference of phpBB-3.2.11-deutsch




/phpbb/controller/ -> resolver.php (summary)

This file is part of the phpBB Forum Software package.

Copyright: (c) phpBB Limited
License: GNU General Public License, version 2 (GPL-2.0)
File Size: 179 lines (5 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

resolver:: (3 methods):

Class: resolver  - X-Ref

Controller manager class

__construct(ContainerInterface $container, $phpbb_root_path, \phpbb\template\template $template = null)   X-Ref
Construct method

param: ContainerInterface $container ContainerInterface object
param: string $phpbb_root_path Relative path to phpBB root
param: \phpbb\template\template $template

getController(Request $request)   X-Ref
Load a controller callable

param: \Symfony\Component\HttpFoundation\Request $request Symfony Request object
return: bool|Callable Callable or false

getArguments(Request $request, $controller)   X-Ref
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

param: \Symfony\Component\HttpFoundation\Request $request Symfony Request object
param: mixed $controller A callable (controller class, method)
return: array An array of arguments to pass to the controller

Generated: Wed Nov 11 20:33:01 2020 Cross-referenced by PHPXref 0.7.1