1 | <?php |
||
2 | |||
3 | /** |
||
4 | * (c) FSi sp. z o.o. <[email protected]> |
||
5 | * |
||
6 | * For the full copyright and license information, please view the LICENSE |
||
7 | * file that was distributed with this source code. |
||
8 | */ |
||
9 | |||
10 | declare(strict_types=1); |
||
11 | |||
12 | namespace FSi\Bundle\AdminSecurityBundle\Security\User; |
||
13 | |||
14 | use Symfony\Component\Security\Core\User\AdvancedUserInterface; |
||
15 | |||
16 | interface UserInterface extends |
||
17 | AdvancedUserInterface, |
||
0 ignored issues
–
show
|
|||
18 | ResettablePasswordInterface, |
||
19 | EnforceablePasswordChangeInterface, |
||
20 | ActivableInterface, |
||
21 | \Serializable |
||
22 | { |
||
23 | public function setUsername(string $username): void; |
||
24 | |||
25 | public function setEmail(string $email): void; |
||
26 | |||
27 | public function setLocked(bool $boolean): void; |
||
28 | |||
29 | public function setLastLogin(\DateTime $time): void; |
||
30 | |||
31 | public function getLastLogin(): ?\DateTime; |
||
32 | |||
33 | public function addRole(string $role): void; |
||
34 | |||
35 | public function removeRole(string $role): void; |
||
36 | } |
||
37 |
This interface has been deprecated. The supplier of the interface has supplied an explanatory message.
The explanatory message should give you some clue as to whether and when the interface will be removed and what other interface to use instead.