/** * Initialize the annotation. */ public function initAnnotation($properties) { $this->_map($properties, array('format')); parent::initAnnotation($properties); if (!isset($this->format)) { throw new AnnotationException('FormatAnnotation requires a format property'); } }
/** * Initialize the annotation. */ public function initAnnotation($properties) { $this->_map($properties, array('name')); parent::initAnnotation($properties); }
/** * Initialize the annotation. */ public function initAnnotation($properties) { $this->_map($properties, array('allow', 'first')); parent::initAnnotation($properties); }