/** * Initialize the annotation. */ public function initAnnotation($properties) { $this->_map($properties, array('type')); parent::initAnnotation($properties); if (!isset($this->type)) { throw new AnnotationException('VarAnnotation requires a type property'); } $this->type = strtolower($this->type); }
/** * Initialize the annotation. */ public function initAnnotation($properties) { $this->_map($properties, array('order')); parent::initAnnotation($properties); }