| [ Index ] |
PHP Cross Reference of phpBB-3.2.11-deutsch |
[Source view] [Print] [Project Stats]
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 |
resolver:: (3 methods):
__construct()
getController()
getArguments()
| __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 controller. 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 |