Example #1
0
 /**
  * Validates if requested method is handled by annotation
  *
  * @param Request $request
  * @return boolean
  */
 protected function validateMethod(Request $request)
 {
     return in_array($request->getMethod(), $this->methods);
 }