314. Class

314.1. Zend\Mvc\Controller\ControllerManager

Manager for loading controllers

Does not define any controllers by default, but does add a validator.

314.1.1. Methods

314.1.1.1. __construct

__construct()

Constructor

After invoking parent constructor, add an initializer to inject the service manager, event manager, and plugin manager

Parameters:null|ConfigInterface

314.1.1.2. injectControllerDependencies

injectControllerDependencies()

Inject required dependencies into the controller.

Parameters:
  • DispatchableInterface
  • ServiceLocatorInterface
Return type:

void

314.1.1.3. validatePlugin

validatePlugin()

Validate the plugin

Ensure we have a dispatchable.

Parameters:mixed
Return type:true
Throws :ExceptionInvalidControllerException

314.1.1.4. get

get()

Override: do not use peering service manager to retrieve controller

Parameters:
  • string
  • array
  • bool
Return type:

mixed

Project Versions

Table Of Contents

Previous topic

313. Class

Next topic

315. Class

This Page