예제 #1
0
 /**
  * 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;
 }