Example #1
0
 /**
  * Get parameter annotations from docblock
  *
  * @return array
  */
 protected function getParameterTags()
 {
     if (null !== $this->parameterAnnotations) {
         return $this->parameterAnnotations;
     }
     $rDocblock = $this->reflection->getDocblock();
     if ($rDocblock instanceof DocBlockReflection) {
         $params = $rDocblock->getTags('param');
     } else {
         $params = array();
     }
     $this->parameterAnnotations = $params;
     return $this->parameterAnnotations;
 }