name = (string) $name; } /** * @return string */ public function getName() { return 'User '.$this->name; } }