src/RoutingFailedResponder.php
protected function getResponderForFailedRoute(Route $route)
    {
        $rule = $route->failedRule;
        if ($this->has($rule)) {
            return $this->get($rule);
        }

        if (isset($this->defaults[$rule])) {
            return [$this, $this->defaults[$rule]];
        }

        return [$this, 'other'];
    }
protected function getResponderForFailedRoute(Route $route)
    {
        $rule = $route->failedRule;
        if ($this->has($rule)) {
            return $this->get($rule);
        }

        if (isset($this->defaults[$rule])) {
            return [$this, $this->defaults[$rule]];
        }

        return [$this, 'other'];
    }
protected function getResponderForFailedRoute ( Route $ route ) { $ rule = $ route -> failedRule ; if ( $ this -> has ( $ rule ) ) { return $ this -> get ( $ rule ) ; } if ( isset ( $ this -> defaults [ $ rule ] ) ) { return [ $ this , $ this -> defaults [ $ rule ] ] ; } return [ $ this , 'other' ] ; }
Get responder for failed route

@param Route $route Failed Route

@return callable

@access protected
Get responder for failed route