Open Journal Systems
3.3.0
|
Public Member Functions | |
__construct (callable $callback) | |
matches (RequestInterface $request) | |
![]() | |
__construct ($path=null, $host=null, $methods=[], $schemes=[]) | |
Match a request with a callback.
Definition at line 13 of file CallbackRequestMatcher.php.
Http\Message\RequestMatcher\CallbackRequestMatcher::__construct | ( | callable | $callback | ) |
callable | $callback |
Definition at line 26 of file CallbackRequestMatcher.php.
Http\Message\RequestMatcher\CallbackRequestMatcher::matches | ( | RequestInterface | $request | ) |
{{Decides whether the rule(s) implemented by the strategy matches the supplied request.
RequestInterface | $request | The PSR7 request to check for a match |
Reimplemented from Http\Message\RequestMatcher\RequestMatcher.
Definition at line 34 of file CallbackRequestMatcher.php.