1
0
mirror of synced 2024-12-03 01:36:04 +03:00
service-bundle/Tests/DataFixtures/User.php
2022-07-21 13:02:32 +03:00

30 lines
504 B
PHP

<?php
namespace RetailCrm\ServiceBundle\Tests\DataFixtures;
use Symfony\Component\Security\Core\User\UserInterface;
class User implements UserInterface
{
protected string $clientId = '123';
public function getRoles(): array
{
return ["USER"];
}
public function getUsername(): string
{
return "user";
}
public function eraseCredentials(): void
{
}
public function getUserIdentifier(): string
{
return $this->clientId;
}
}