public function setInheritEmpty($inheritEmpty) { $this->inheritEmpty = (bool) $inheritEmpty; return $this; }