1 | <?php |
||
21 | trait UserTrait |
||
22 | { |
||
23 | /** |
||
24 | * @see \Symfony\Component\Security\Core\User\UserInterface |
||
25 | * |
||
26 | * {@inheritdoc} |
||
27 | */ |
||
28 | 1 | public function getPassword() |
|
32 | |||
33 | /** |
||
34 | * @see \Symfony\Component\Security\Core\User\UserInterface |
||
35 | * |
||
36 | * {@inheritdoc} |
||
37 | */ |
||
38 | 1 | public function getSalt() |
|
42 | |||
43 | /** |
||
44 | * @see \Symfony\Component\Security\Core\User\UserInterface |
||
45 | * |
||
46 | * {@inheritdoc} |
||
47 | */ |
||
48 | 1 | public function eraseCredentials() |
|
51 | |||
52 | /** |
||
53 | * @see \Symfony\Component\Security\Core\User\AdvancedUserInterface |
||
54 | * |
||
55 | * {@inheritdoc} |
||
56 | */ |
||
57 | 2 | public function isEnabled() |
|
66 | |||
67 | /** |
||
68 | * @see \Symfony\Component\Security\Core\User\AdvancedUserInterface |
||
69 | * |
||
70 | * {@inheritdoc} |
||
71 | */ |
||
72 | 3 | public function isAccountNonExpired() |
|
83 | |||
84 | /** |
||
85 | * @see \Symfony\Component\Security\Core\User\AdvancedUserInterface |
||
86 | * |
||
87 | * {@inheritdoc} |
||
88 | */ |
||
89 | 3 | public function isCredentialsNonExpired() |
|
100 | |||
101 | /** |
||
102 | * @see \Symfony\Component\Security\Core\User\AdvancedUserInterface |
||
103 | * |
||
104 | * {@inheritdoc} |
||
105 | */ |
||
106 | 7 | public function isAccountNonLocked() |
|
117 | } |
||
118 |
This check looks for access to properties that are not accessible from the current context.
If you need to make a property accessible to another context you can either raise its visibility level or provide an accessible getter in the defining class.