public function setVisibleGridView($visibleGridView) { $this->visibleGridView = (bool) $visibleGridView; return $this; }