public function matchRequest(RequestInterface $request);
/** * Tries to match the given request against this filter and calls the set security interceptor on success. * * @param RequestInterface $request The request to be matched * @return boolean Returns TRUE if the filter matched, FALSE otherwise */ public function filterRequest(RequestInterface $request) { if ($this->pattern->matchRequest($request)) { $this->securityInterceptor->invoke(); return true; } return false; }