src/Web/Servlet/DispatcherServlet.php
protected function getHandler(ServletRequestInterface $servletRequest)
    {
        foreach ($this->handlerMappings as $handlerMapping) {
            $handler = $handlerMapping->getHandler($servletRequest);
            if ($handler != null) {
                return $handler;
            }
        }
        return null;
    }
protected function getHandler(ServletRequestInterface $servletRequest)
    {
        foreach ($this->handlerMappings as $handlerMapping) {
            $handler = $handlerMapping->getHandler($servletRequest);
            if ($handler != null) {
                return $handler;
            }
        }
        return null;
    }
protected function getHandler ( ServletRequestInterface $ servletRequest ) { foreach ( $ this -> handlerMappings as $ handlerMapping ) { $ handler = $ handlerMapping -> getHandler ( $ servletRequest ) ; if ( $ handler != null ) { return $ handler ; } } return null ; }
Return the HandlerExecutionChain for this request
@param ServletRequestInterface $servletRequest current HTTP request
@return HandlerExecutionChain the HandlerExecutionChain or {@code null} is no handler could be found
Return the HandlerExecutionChain for this request