Zend\Expressive\Application::attachRouteResultObserver PHP 메소드

attachRouteResultObserver() 공개 메소드

Attach a route result observer.
사용 중단: This method will be removed in v1.1.
public attachRouteResultObserver ( Zend\Expressive\Router\RouteResultObserverInterface $observer )
$observer Zend\Expressive\Router\RouteResultObserverInterface
    public function attachRouteResultObserver(Router\RouteResultObserverInterface $observer)
    {
        $this->routeResultObservers[] = $observer;
    }