private function setName($name) { $name = trim(strip_tags($name)); $this->name = str_replace([' '], '-', $name); return $this; }