public function match(RequestInterface $request)
    {
        return (
            $this->matchSchema($request->schema()) &&
            $this->matchMethods($request->method()) &&
            $this->matchHost($request->host()) &&
            $this->matchPath($request->path())
        );
    }
public function match(RequestInterface $request)
    {
        return (
            $this->matchSchema($request->schema()) &&
            $this->matchMethods($request->method()) &&
            $this->matchHost($request->host()) &&
            $this->matchPath($request->path())
        );
    }
public function match ( RequestInterface $ request ) { return ( $ this -> matchSchema ( $ request -> schema ( ) ) && $ this -> matchMethods ( $ request -> method ( ) ) && $ this -> matchHost ( $ request -> host ( ) ) && $ this -> matchPath ( $ request -> path ( ) ) ) ; }
Returns true if matches request, otherwise returns false

@param RequestInterface $request

@return bool
Returns true if matches request otherwise returns false