/** * Returns `true` if the request method is the expected or `false` otherwise. * * @inherit-doc */ public function matches(RequestInterface $request) { return strtolower($request->getMethod()) == $this->expectedMethod; }