*/ class ezcReflectionAnnotationVar extends ezcReflectionAnnotation { /** * @param string[] $line Array of words */ public function __construct($line) { $this->annotationName = $line[0]; if (isset($line[1])) { $this->params[0] = ezcReflectionTypeMapper::getInstance()->getTypeName($line[1]); } if (isset($line[2])) { $this->desc = $line[2]; } if (isset($line[3])) { $this->desc .= ' '.$line[3]; } } /** * @return string */ public function getTypeName() { return $this->params[0]; } } ?>