PHP Class PPI\Framework\Module\Controller\ControllerResolver

See also: Symfony\Bundle\FrameworkBundle\Controller\ControllerResolver
Author: Fabien Potencier ([email protected])
Author: Vítor Brandão ([email protected])
Author: Paul Dragoonis ([email protected])
Inheritance: extends Symfony\Component\HttpKernel\Controller\ControllerResolver
Mostra file Open project: ppi/framework

Protected Properties

Property Type Description
$request

Public Methods

Method Description
__construct ( Zend\ServiceManager\ServiceLocatorInterface $serviceManager, ControllerNameParser $parser, Psr\Log\LoggerInterface $logger = null ) Constructor.

Protected Methods

Method Description
createController ( string $controller ) : mixed Returns a callable for the given controller.
instantiateController ( string $class ) : object

Method Details

__construct() public method

Constructor.
public __construct ( Zend\ServiceManager\ServiceLocatorInterface $serviceManager, ControllerNameParser $parser, Psr\Log\LoggerInterface $logger = null )
$serviceManager Zend\ServiceManager\ServiceLocatorInterface A ServiceLocatorInterface instance
$parser ControllerNameParser A ControllerNameParser instance
$logger Psr\Log\LoggerInterface A LoggerInterface instance

createController() protected method

Returns a callable for the given controller.
protected createController ( string $controller ) : mixed
$controller string A Controller string
return mixed A PHP callable

instantiateController() protected method

protected instantiateController ( string $class ) : object
$class string
return object

Property Details

$request protected_oe property

protected $request