[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/libraries/vendor/joomla/application/src/Controller/ -> ContainerControllerResolver.php (summary)

Part of the Joomla Framework Application Package

Copyright: Copyright (C) 2005 - 2021 Open Source Matters, Inc. All rights reserved.
License: GNU General Public License version 2 or later; see LICENSE
File Size: 60 lines (1 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

ContainerControllerResolver:: (2 methods):
  __construct()
  instantiateController()


Class: ContainerControllerResolver  - X-Ref

Controller resolver which supports creating controllers from a PSR-11 compatible container

Controllers must be registered in the container using their FQCN as a service key

__construct(ContainerInterface $container)   X-Ref
Constructor

param: ContainerInterface  $container  The container to search for controllers in

instantiateController(string $class)   X-Ref
Instantiate a controller class

param: string  $class  The class to instantiate
return: object  Controller class instance



Generated: Wed Sep 7 05:41:13 2022 Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer