2021-02-05 14:47:54 +03:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace RetailCrm\ServiceBundle\Tests\DataFixtures;
|
|
|
|
|
|
|
|
use Symfony\Component\Security\Core\User\UserInterface;
|
|
|
|
|
|
|
|
class User implements UserInterface
|
|
|
|
{
|
|
|
|
public function getRoles(): array
|
|
|
|
{
|
|
|
|
return ["USER"];
|
|
|
|
}
|
|
|
|
|
|
|
|
public function getUsername(): string
|
|
|
|
{
|
|
|
|
return "user";
|
|
|
|
}
|
|
|
|
|
|
|
|
public function eraseCredentials(): void
|
|
|
|
{
|
|
|
|
}
|
2022-07-20 13:58:16 +03:00
|
|
|
|
|
|
|
public function getUserIdentifier(): string
|
|
|
|
{
|
|
|
|
return 'identifier';
|
|
|
|
}
|
2021-02-05 14:47:54 +03:00
|
|
|
}
|