getType() abstract public method

Returns the type of the annotation (get, post, put, etc)
abstract public getType ( ) : string
return string
Esempio n. 1
0
 /**
  * @param Method $method
  * @param HttpRequest $annotation
  * @return null
  */
 public function handle(Method $method, $annotation)
 {
     $method->setType($annotation->getType());
     $method->setPath($annotation->getPath());
     $method->addQueries($annotation->getQueries());
 }