public function getParentTypeOption() { if ($this->hasParentType()) { return new Some($this->parent_type); } return new None(); }