Skip to content

Commit

Permalink
feat: add __toString method to EuLoginUser.
Browse files Browse the repository at this point in the history
  • Loading branch information
drupol committed Dec 7, 2022
1 parent 8d7d5a5 commit f14d7c7
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/Security/Core/User/EuLoginUser.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,11 @@ public function __construct(CasUserInterface $user)
$this->user = $user;
}

public function __toString(): string
{
return $this->user->__toString();
}

public function eraseCredentials(): void
{
// null
Expand Down

0 comments on commit f14d7c7

Please sign in to comment.