Zend\Expressive\Application::notifyRouteResultObservers PHP Method

notifyRouteResultObservers() public method

Notify all route result observers with the given route result.
Deprecation: This method will be removed in v1.1.
public notifyRouteResultObservers ( Zend\Expressive\Router\RouteResult $result )
$result Zend\Expressive\Router\RouteResult
    public function notifyRouteResultObservers(Router\RouteResult $result)
    {
        foreach ($this->routeResultObservers as $observer) {
            $observer->update($result);
        }
    }