PHP Class ZF\Apigility\Application

Inheritance: extends Zend\Mvc\Application
Mostrar archivo Open project: zfcampus/zf-apigility Class Usage Examples

Public Methods

Method Description
run ( ) : self Run the application.

Private Methods

Method Description
handleException ( Throwabl\Throwable | Exceptio\Exception $exception, MvcEvent $event, Zend\EventManager\EventManagerInterface $events ) : self Handle an exception/throwable.

Method Details

run() public method

{@inheritDoc} This method overrides the behavior of Zend\Mvc\Application to wrap the trigger of the route event in a try/catch block, allowing us to catch route listener exceptions and trigger the dispatch.error event.
public run ( ) : self
return self