Documentation

RequestMatcher

Match a request.

PSR-7 equivalent of Symfony's RequestMatcher

Tags
see
https://github.com/symfony/symfony/blob/master/src/Symfony/Component/HttpFoundation/RequestMatcherInterface.php
author

Joel Wurtz joel.wurtz@gmail.com

Table of Contents

Methods

matches()  : bool
Decides whether the rule(s) implemented by the strategy matches the supplied request.

Methods

matches()

Decides whether the rule(s) implemented by the strategy matches the supplied request.

public matches(RequestInterface $request) : bool
Parameters
$request : RequestInterface

The PSR7 request to check for a match

Return values
bool

true if the request matches, false otherwise


        
On this page

Search results