visibility = $visibility; } /** * @return array */ public function toOptionArray() { return $this->visibility->getOptionArray(); } }