Zend\Mvc\Controller\AbstractConsoleController
Synopsis
class AbstractConsoleController
extends AbstractActionController
{
- // members
- protected AdapterInterface $console;
- // Inherited members from AbstractActionController
- protected string $eventIdentifier;
- // Inherited members from AbstractController
- protected PluginManager $plugins;
- protected RequestInterface $request;
- protected ResponseInterface $response;
- protected EventInterface $event;
- protected EventManagerInterface $events;
- protected ServiceLocatorInterface $serviceLocator;
- protected string $eventIdentifier;
- // methods
- public self setConsole()
- public AdapterInterface getConsole()
- public void dispatch()
- // Inherited methods from AbstractActionController
- public array indexAction()
- public array notFoundAction()
- public mixed onDispatch()
- protected ViewModel createHttpNotFoundModel()
- protected ConsoleModel createConsoleNotFoundModel()
- // Inherited methods from AbstractController
- public abstract mixed onDispatch()
- public Response|mixed dispatch()
- public RequestInterface getRequest()
- public ResponseInterface getResponse()
- public AbstractController setEventManager()
- public EventManagerInterface getEventManager()
- public void setEvent()
- public MvcEvent getEvent()
- public void setServiceLocator()
- public ServiceLocatorInterface getServiceLocator()
- public PluginManager getPluginManager()
- public AbstractController setPluginManager()
- public mixed plugin()
- public mixed __call()
- protected void attachDefaultListeners()
- public static string getMethodFromAction()
Hierarchy
Tasks
Line | Task |
---|---|
69 | Determine requirements for when route match is missing. |
Members
protected
- $console — Zend\Console\Adapter\AdapterInterface
- $event — Zend\EventManager\EventInterface
- $eventIdentifier — string
- $eventIdentifier — string
- $events — Zend\EventManager\EventManagerInterface
- $plugins — Zend\Mvc\Controller\PluginManager
- $request — Zend\Stdlib\RequestInterface
- $response — Zend\Stdlib\ResponseInterface
- $serviceLocator — Zend\ServiceManager\ServiceLocatorInterface
Methods
public
- dispatch() — {@inheritdoc}
- getConsole()
- setConsole()
Inherited from Zend\Mvc\Controller\AbstractActionController
protected
- createConsoleNotFoundModel() — Create a console view model representing a "not found" action
- createHttpNotFoundModel() — Create an HTTP view model representing a "not found" page
public
- indexAction() — Default action if none provided
- notFoundAction() — Action called if matched action does not exist
- onDispatch() — Execute the request
Inherited from Zend\Mvc\Controller\AbstractController
protected
- attachDefaultListeners() — Register the default events for this controller
public
- __call() — Method overloading: return/call plugins
- dispatch() — Dispatch a request
- getEvent() — Get the attached event
- getEventManager() — Retrieve the event manager
- getMethodFromAction() — Transform an "action" token into a method name
- getPluginManager() — Get plugin manager
- getRequest() — Get request object
- getResponse() — Get response object
- getServiceLocator() — Retrieve serviceManager instance
- onDispatch() — Execute the request
- plugin() — Get plugin instance
- setEvent() — Set an event to use during dispatch
- setEventManager() — Set the event manager instance used by this context
- setPluginManager() — Set plugin manager
- setServiceLocator() — Set serviceManager instance