feat(core) : add CoreModule, user repository contract, notifier contract and enriched user contract
This commit is contained in:
@@ -79,6 +79,42 @@ final class TimestampableBlamableSubscriberTest extends TestCase
|
||||
{
|
||||
return $this->id;
|
||||
}
|
||||
|
||||
public function getUserIdentifier(): string
|
||||
{
|
||||
return 'user-'.$this->id;
|
||||
}
|
||||
|
||||
public function getUsername(): ?string
|
||||
{
|
||||
return 'user-'.$this->id;
|
||||
}
|
||||
|
||||
/** @return list<string> */
|
||||
public function getRoles(): array
|
||||
{
|
||||
return ['ROLE_USER'];
|
||||
}
|
||||
|
||||
public function getFirstName(): ?string
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
public function getLastName(): ?string
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
public function getAvatarUrl(): ?string
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
public function getIsEmployee(): bool
|
||||
{
|
||||
return false;
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user