PHP 클래스 Zend\Mvc\MiddlewareListener

상속: extends Zend\EventManager\AbstractListenerAggregate
파일 보기 프로젝트 열기: zendframework/zend-mvc

공개 메소드들

메소드 설명
attach ( Zend\EventManager\EventManagerInterface $events, $priority = 1 ) : void Attach listeners to an event manager
onDispatch ( MvcEvent $event ) : mixed Listen to the "dispatch" event

보호된 메소드들

메소드 설명
marshalMiddlewareNotCallable ( string $type, string $middlewareName, MvcEvent $event, Application $application, Exception $exception = null ) : mixed Marshal a middleware not callable exception event

메소드 상세

attach() 공개 메소드

Attach listeners to an event manager
public attach ( Zend\EventManager\EventManagerInterface $events, $priority = 1 ) : void
$events Zend\EventManager\EventManagerInterface
리턴 void

marshalMiddlewareNotCallable() 보호된 메소드

Marshal a middleware not callable exception event
protected marshalMiddlewareNotCallable ( string $type, string $middlewareName, MvcEvent $event, Application $application, Exception $exception = null ) : mixed
$type string
$middlewareName string
$event MvcEvent
$application Application
$exception Exception
리턴 mixed

onDispatch() 공개 메소드

Listen to the "dispatch" event
public onDispatch ( MvcEvent $event ) : mixed
$event MvcEvent
리턴 mixed