public function __construct($annotation) { $elements = explode('.', $annotation); $this->_type = $elements[0]; $this->_default = isset($elements[1]) && $elements[1] == 'default'; }