password = $password; $this->login = $login; $this->attributes = $attributes; $this->rememberMe = $rememberMe; } public function getLogin(): ?string { return $this->login; } public function getPassword(): string { return $this->password; } public function getAttributes(): array { return $this->attributes; } public function getRememberMe(): bool { return $this->rememberMe; } public function getRoles(): array { return ['ROLE_USER']; } public function getSalt(): ?string { return null; } public function eraseCredentials() { } public function getUsername(): string { return $this->login; } public function getUserIdentifier(): string { return $this->login; } }