public function setVisibleSearch($visibleSearch) { $this->visibleSearch = (bool) $visibleSearch; return $this; }