@@ -190,11 +190,11 @@ security layer, the entity class must implement the
190
190
:class: `Symfony\\ Component\\ Security\\ Core\\ User\\ UserInterface `. This
191
191
interface forces the class to implement the five following methods:
192
192
193
- * `` getRoles() ``,
194
- * `` getPassword() ``,
195
- * `` getSalt() ``,
196
- * `` getUsername() ``,
197
- * `` eraseCredentials() ` `
193
+ * :method: ` Symfony \\ Component \\ Security \\ Core \\ User \\ UserInterface:: getRoles`
194
+ * :method: ` Symfony \\ Component \\ Security \\ Core \\ User \\ UserInterface:: getPassword`
195
+ * :method: ` Symfony \\ Component \\ Security \\ Core \\ User \\ UserInterface:: getSalt`
196
+ * :method: ` Symfony \\ Component \\ Security \\ Core \\ User \\ UserInterface:: getUsername`
197
+ * :method: ` Symfony \\ Component \\ Security \\ Core \\ User \\ UserInterface::eraseCredential `
198
198
199
199
For more details on each of these, see :class: `Symfony\\ Component\\ Security\\ Core\\ User\\ UserInterface `.
200
200
@@ -377,11 +377,14 @@ entity class to benefit from simple and advanced authentication behaviors.
377
377
The :class: `Symfony\\ Component\\ Security\\ Core\\ User\\ AdvancedUserInterface `
378
378
interface adds four extra methods to validate the account status:
379
379
380
- * ``isAccountNonExpired() `` checks whether the user's account has expired,
381
- * ``isAccountNonLocked() `` checks whether the user is locked,
382
- * ``isCredentialsNonExpired() `` checks whether the user's credentials (password)
383
- has expired,
384
- * ``isEnabled() `` checks whether the user is enabled.
380
+ * :method: `Symfony\\ Component\\ Security\\ Core\\ User\\ AdvancedUserInterface::isAccountNonExpired `
381
+ checks whether the user's account has expired,
382
+ * :method: `Symfony\\ Component\\ Security\\ Core\\ User\\ AdvancedUserInterface::isAccountNonLocked `
383
+ checks whether the user is locked,
384
+ * :method: `Symfony\\ Component\\ Security\\ Core\\ User\\ AdvancedUserInterface::isCredentialsNonExpired `
385
+ checks whether the user's credentials (password) has expired,
386
+ * :method: `Symfony\\ Component\\ Security\\ Core\\ User\\ AdvancedUserInterface::isEnabled `
387
+ checks whether the user is enabled.
385
388
386
389
For this example, the first three methods will return ``true `` whereas the
387
390
``isEnabled() `` method will return the boolean value in the ``isActive `` field.
0 commit comments