attach()
detach()
displayNotFoundReason()
handleRouteNotFoundError()
setDisplayNotFoundReason()
getConsoleBanner()
getConsoleUsage()
renderTable()
reportNotFoundReason()
$displayNotFoundReason
$listeners
$reason
attach(\Zend\EventManager\EventManagerInterface $events) : void
Implementors may add an optional $priority argument; the EventManager implementation will pass this to the aggregate.
detach(\Zend\EventManager\EventManagerInterface $events) : void
displayNotFoundReason() : bool
bool
handleRouteNotFoundError(\Zend\Mvc\MvcEvent $e) : void
If a "controller not found" or "invalid controller" error type is encountered, sets the response status code to 404.
\Zend\Mvc\Exception\RuntimeException |
|
---|---|
\Zend\ServiceManager\Exception\ServiceNotFoundException |
setDisplayNotFoundReason(bool $displayNotFoundReason) : \Zend\Mvc\View\Console\RouteNotFoundStrategy
getConsoleBanner(\Zend\Console\Adapter\AdapterInterface $console, \Zend\ModuleManager\ModuleManagerInterface $moduleManager) : string
getConsoleUsage(\Zend\Console\Adapter\AdapterInterface $console, string $scriptName, \Zend\ModuleManager\ModuleManagerInterface $moduleManager) : string
string
\Zend\ModuleManager\ModuleManagerInterface
\Zend\Mvc\Exception\RuntimeException |
---|
string
renderTable($data, $cols, $consoleWidth) : string
string
reportNotFoundReason(\Zend\EventManager\EventInterface $e) : string
$displayNotFoundReason : bool
$reason : bool | string