public function __construct(User $user, $password) { $this->user = $user; $this->password = $password; }