QueryMatcher
in package
implements
RequestMatcherInterface
Class QueryMatcher
Tags
Interfaces, Classes, Traits and Enums
- RequestMatcherInterface
- Interface RequestMatcherInterface
Table of Contents
- __construct() : mixed
- QueryMatcher constructor.
- matches() : bool
- Returns true if request is matched by this matcher.
Methods
__construct()
QueryMatcher constructor.
public
__construct(array<string, mixed> $query) : mixed
Parameters
- $query : array<string, mixed>
Return values
mixed —matches()
Returns true if request is matched by this matcher.
public
matches(RequestInterface $request) : bool
Parameters
- $request : RequestInterface