[ Index ]

PHP Cross Reference of phpBB-3.3.11-deutsch

title

Body

[close]

/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):
  __construct()
  getController()
  getArguments()


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

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

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.

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



Generated: Sat Nov 4 14:26:03 2023 Cross-referenced by PHPXref 0.7.1