lib/Routing/Route.php
public function meetsConstraints(Request $request)
    {
        foreach ($this->constraints as $constraint) {
            if (!$constraint($request)) {
                return false;
            }
        }

        return true;
    }
public function meetsConstraints(Request $request)
    {
        foreach ($this->constraints as $constraint) {
            if (!$constraint($request)) {
                return false;
            }
        }

        return true;
    }
public function meetsConstraints ( Request $ request ) { foreach ( $ this -> constraints as $ constraint ) { if ( ! $ constraint ( $ request ) ) { return false ; } } return true ; }
Matches a request against the constraints configured on this route.

@param Request $request
@return bool
Matches a request against the constraints configured on this route .