username = $username; return $this; } /** * @return mixed */ public function getUsername() { return $this->username; } /** * @param string $password * @return Credential */ public function setPassword(string $password): Credential { $this->password = $password; return $this; } /** * @return mixed */ public function getPassword() { return $this->password; } }