public function setName($name) { $normalized_name = Classes::normalize($name); $this->name = ucfirst($normalized_name); $this->nameUppercase = strtoupper($normalized_name); $this->nameCapitalized = ucfirst(strtolower($normalized_name)); $this->originalName = $name; return $this; }