/var/www/vhosts/nabawater/vendor/php-http/message/src/RequestMatcher
NameSizeModeActions
CallbackRequestMatcher.php6700644editdlrm
RegexRequestMatcher.php9800644editdlrm
RequestMatcher.php21040644editdlrm
Edit: /var/www/vhosts/nabawater/vendor/php-http/message/src/RequestMatcher/CallbackRequestMatcher.php (670B)
*/ final class CallbackRequestMatcher implements RequestMatcher { /** * @var callable */ private $callback; /** * @param callable $callback */ public function __construct(callable $callback) { $this->callback = $callback; } /** * {@inheritdoc} */ public function matches(RequestInterface $request) { return (bool) call_user_func($this->callback, $request); } }