-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathAdminUserInterface.php
More file actions
43 lines (33 loc) · 891 Bytes
/
AdminUserInterface.php
File metadata and controls
43 lines (33 loc) · 891 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
<?php
declare(strict_types=1);
namespace Platform\Bundle\AdminBundle\Model;
use Sylius\Component\Rbac\Model\IdentityInterface;
use Sylius\Component\User\Model\UserInterface;
interface AdminUserInterface extends UserInterface, IdentityInterface
{
public const DEFAULT_ADMIN_ROLE = 'ROLE_ADMINISTRATION_ACCESS';
/**
* @return string
*/
public function getFirstName(): ?string;
/**
* @param string $firstName
*/
public function setFirstName(?string $firstName): void;
/**
* @return string
*/
public function getLastName(): ?string;
/**
* @param string $lastName
*/
public function setLastName(?string $lastName): void;
/**
* @return string
*/
public function getLocaleCode(): ?string;
/**
* @param string $code
*/
public function setLocaleCode(?string $code): void;
}