public function setShowThumbnails($showThumbnails) { $this->showThumbnails = (bool) $showThumbnails; return $this; }