id = (int)$id; $this->username = $name; } }