[ Index ]

PHP Cross Reference of phpBB-3.1.12-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: 175 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(\phpbb\user $user, ContainerInterface $container, $phpbb_root_path, \phpbb\template\template $template = null)   X-Ref
Construct method

param: \phpbb\user $user User Object
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: Thu Jan 11 00:25:41 2018 Cross-referenced by PHPXref 0.7.1