UserFullAbstract
abstract class UserFullAbstract implements UserInterface
Entity UserFullAbstract
Traits
Constants
ROLE_DEFAULT |
|
Properties
private int | $id | User unique id | from UserLightTrait |
private bool | $allowUse | If the user allows use of its account (GDPR) | from UserLightTrait |
private string | $identifier | Unique user identifier | from UserLightTrait |
private string | Email for the user | from UserLightTrait | |
private DateTime | $creation | DateTime for the creation | from UserLightTrait |
private bool | $enabled | If account is enabled | from UserLightTrait |
private string | $salt | Salt used to hash the password | from UserLightTrait |
private string | $password | Password hashed | from UserLightTrait |
private string | $token | Token used for sign-up and password recovery | from UserLightTrait |
private DateTime | $passwordRequest | DateTime of request for password recovery | from UserLightTrait |
private string | $roles | Roles for the user | from UserLightTrait |
private string | $plainPassword | Plain password (not strored, used only at sign-up and password chnage times) | from UserLightTrait |
private string | $challenge | Answer to the proposed challenge to avoid bots | from UserLightTrait |
private string | $gender | Gender for the user | from UserDefaultTrait |
private string | $firstname | Firstname for the user | from UserDefaultTrait |
private string | $lastname | Lastname for the user | from UserDefaultTrait |
private string | $avatar | url used for the Avatar for the user | from UserDefaultTrait |
private DateTime | $latestSignin | DateTime of latest sign-in | from UserDefaultTrait |
private DateTime | $latestSignout | DateTime of latest sign-out | from UserDefaultTrait |
private string | $locale | Locale for the user | from UserDefaultTrait |
private string | $address | Address for the user | from UserAddressTrait |
private string | $address2 | Second line address for the user | from UserAddressTrait |
private string | $postal | Postal code for the user | from UserAddressTrait |
private string | $town | Town for the user | from UserAddressTrait |
private string | $country | Country for the user | from UserAddressTrait |
private string | $phone | Phone for the user | from UserAddressTrait |
private string | $fax | Fax for the user | from UserAddressTrait |
private string | $businessType | Type of bussiness | from UserBusinessTrait |
private string | $businessName | Name for the Business | from UserBusinessTrait |
private string | $businessAddress | Address for the Business | from UserBusinessTrait |
private string | $businessAddress2 | Second line for the address for the Business | from UserBusinessTrait |
private string | $businessPostal | Postal code for the Business | from UserBusinessTrait |
private string | $businessTown | Town for the Business | from UserBusinessTrait |
private string | $businessCountry | Country for the Business | from UserBusinessTrait |
private string | $businessSiret | Siret for the Business | from UserBusinessTrait |
private string | $businessVat | TVA number for the Business | from UserBusinessTrait |
private string | $businessPhone | Phone number for the Business | from UserBusinessTrait |
private string | $businessFax | Fax number for the Business | from UserBusinessTrait |
private string | $socialNetwork | Social network for the user | from UserSocialTrait |
private string | $socialId | Social id for the user | from UserSocialTrait |
private string | $socialToken | Social token for the user | from UserSocialTrait |
private string | $socialPicture | Social picture url for the user | from UserSocialTrait |
Methods
Get username Kept for compatibility, returns email value as specified in Symfony docs
Set businessAddress
Set businessAddress2
Set businessCountry
Details
in UserLightTrait at line 144
eraseCredentials()
{@inheritdoc}
in UserLightTrait at line 151
isAccountNonExpired()
{@inheritdoc}
in UserLightTrait at line 159
isAccountNonLocked()
{@inheritdoc}
in UserLightTrait at line 167
isCredentialsNonExpired()
{@inheritdoc}
in UserLightTrait at line 175
isEnabled()
{@inheritdoc}
in UserLightTrait at line 184
string
serialize()
Serializes the user
in UserLightTrait at line 199
array
unserialize($serialized)
Unserialize the user
in UserLightTrait at line 215
bool
hasRole(string|null $role)
Check if the user has the specified role
in UserLightTrait at line 223
addRole(string|null $role)
Adds the role to the user
in UserLightTrait at line 250
deleteRole(string|null $role)
Deletes the role to the user
in UserLightTrait at line 275
setRoles(array $roles)
Set roles
in UserLightTrait at line 290
array
getRoles()
Get roles
in UserLightTrait at line 312
array
toArray()
Converts the entity in an array
in UserLightTrait at line 338
int|null
getId()
Get id
in UserLightTrait at line 348
string|null
getUsername()
Get username Kept for compatibility, returns email value as specified in Symfony docs
in UserLightTrait at line 358
UserLight
setAllowUse(bool $allowUse)
Set allowUse
in UserLightTrait at line 368
bool
getAllowUse()
Get allowUse
in UserLightTrait at line 378
UserLight
setIdentifier(string|null $identifier)
Set identifier
in UserLightTrait at line 388
string|null
getIdentifier()
Get identifier
in UserLightTrait at line 398
UserLight
setEmail(string|null $email)
Set email
in UserLightTrait at line 408
string|null
getEmail()
Get email
in UserLightTrait at line 418
UserLight
setCreation(DateTimeInterface|null $creation)
Set creation
in UserLightTrait at line 428
DateTimeInterface|null
getCreation()
Get creation
in UserLightTrait at line 438
UserLight
setEnabled(bool $enabled)
Set enabled
in UserLightTrait at line 448
bool
getEnabled()
Get enabled
in UserLightTrait at line 458
UserLight
setSalt(string|null $salt)
Set salt
in UserLightTrait at line 468
string|null
getSalt()
Get salt
in UserLightTrait at line 478
UserLight
setPassword(string|null $password)
Set password
in UserLightTrait at line 488
string|null
getPassword()
Get password
in UserLightTrait at line 498
UserLight
setToken(string|null $token)
Set token
in UserLightTrait at line 508
string|null
getToken()
Get token
in UserLightTrait at line 518
UserLight
setPasswordRequest(DateTimeInterface|null $passwordRequest)
Set passwordRequest
in UserLightTrait at line 528
DateTimeInterface|null
getPasswordRequest()
Get passwordRequest
in UserLightTrait at line 538
UserLight
setPlainPassword(string|null $plainPassword)
Set plainPassword
in UserLightTrait at line 548
string|null
getPlainPassword()
Get plainPassword
in UserLightTrait at line 558
UserLight
setChallenge(string|null $challenge)
Set challenge
in UserLightTrait at line 568
string|null
getChallenge()
Get challenge
in UserDefaultTrait at line 104
UserLight
setGender(string|null $gender)
Set gender
in UserDefaultTrait at line 114
string|null
getGender()
Get gender
in UserDefaultTrait at line 124
UserLight
setFirstname(string|null $firstname)
Set firstname
in UserDefaultTrait at line 134
string|null
getFirstname()
Get firstname
in UserDefaultTrait at line 144
UserLight
setLastname(string|null $lastname)
Set lastname
in UserDefaultTrait at line 154
string|null
getLastname()
Get lastname
in UserDefaultTrait at line 164
UserLight
setAvatar(string|null $avatar)
Set avatar
in UserDefaultTrait at line 174
string|null
getAvatar()
Get avatar
in UserDefaultTrait at line 184
UserLight
setLatestSignin(DateTimeInterface|null $latestSignin)
Set latestSignin
in UserDefaultTrait at line 194
DateTimeInterface|null
getLatestSignin()
Get latestSignin
in UserDefaultTrait at line 204
UserLight
setLatestSignout(DateTimeInterface|null $latestSignout)
Set latestSignout
in UserDefaultTrait at line 214
DateTimeInterface
getLatestSignout()
Get latestSignout
in UserDefaultTrait at line 224
UserLight
setLocale(string|null $locale)
Set locale
in UserDefaultTrait at line 234
string|null
getLocale()
Get locale
in UserAddressTrait at line 88
UserLight
setAddress(string|null $address)
Set address
in UserAddressTrait at line 98
string|null
getAddress()
Get address
in UserAddressTrait at line 108
UserLight
setAddress2(string|null $address2)
Set address2
in UserAddressTrait at line 118
string|null
getAddress2()
Get address2
in UserAddressTrait at line 128
UserLight
setPostal(string|null $postal)
Set postal
in UserAddressTrait at line 138
string|null
getPostal()
Get postal
in UserAddressTrait at line 148
UserLight
setTown(string|null $town)
Set town
in UserAddressTrait at line 158
string|null
getTown()
Get town
in UserAddressTrait at line 168
UserLight
setCountry(string|null $country)
Set country
in UserAddressTrait at line 178
string|null
getCountry()
Get country
in UserAddressTrait at line 188
UserLight
setPhone(string|null $phone)
Set phone
in UserAddressTrait at line 198
object|null
getPhone()
Get phone
in UserAddressTrait at line 208
UserLight
setFax(string|null $fax)
Set fax
in UserAddressTrait at line 218
object|null
getFax()
Get fax
in UserBusinessTrait at line 134
UserLight
setBusinessType(string|null $businessType)
Set businessType
in UserBusinessTrait at line 144
string|null
getBusinessType()
Get businessType
in UserBusinessTrait at line 154
UserLight
setBusinessName(string|null $businessName)
Set businessName
in UserBusinessTrait at line 164
string|null
getBusinessName()
Get businessName
in UserBusinessTrait at line 174
UserLight
setBusinessAddress(string|null $businessAddress)
Set businessAddress
in UserBusinessTrait at line 184
string|null
getBusinessAddress()
Get businessAddress
in UserBusinessTrait at line 194
UserLight
setBusinessAddress2(string|null $businessAddress2)
Set businessAddress2
in UserBusinessTrait at line 204
string|null
getBusinessAddress2()
Get businessAddress2
in UserBusinessTrait at line 214
UserLight
setBusinessPostal(string|null $businessPostal)
Set businessPostal
in UserBusinessTrait at line 224
string|null
getBusinessPostal()
Get businessPostal
in UserBusinessTrait at line 234
UserLight
setBusinessTown(string|null $businessTown)
Set businessTown
in UserBusinessTrait at line 244
string|null
getBusinessTown()
Get businessTown
in UserBusinessTrait at line 254
UserLight
setBusinessCountry(string|null $businessCountry)
Set businessCountry
in UserBusinessTrait at line 264
string|null
getBusinessCountry()
Get businessCountry
in UserBusinessTrait at line 274
UserLight
setBusinessSiret(string|null $businessSiret)
Set businessSiret
in UserBusinessTrait at line 284
string|null
getBusinessSiret()
Get businessSiret
in UserBusinessTrait at line 294
UserLight
setBusinessVat(string|null $businessVat)
Set businessVat
in UserBusinessTrait at line 304
string|null
getBusinessVat()
Get businessVat
in UserBusinessTrait at line 314
UserLight
setBusinessPhone(string|null $businessPhone)
Set businessPhone
in UserBusinessTrait at line 324
object|null
getBusinessPhone()
Get businessPhone
in UserBusinessTrait at line 334
UserLight
setBusinessFax(string|null $businessFax)
Set businessFax
in UserBusinessTrait at line 344
object|null
getBusinessFax()
Get businessFax
in UserSocialTrait at line 61
UserLight
setSocialNetwork(string|null $socialNetwork)
Set socialNetwork
in UserSocialTrait at line 71
string|null
getSocialNetwork()
Get socialNetwork
in UserSocialTrait at line 81
UserLight
setSocialId(string|null $socialId)
Set socialId
in UserSocialTrait at line 91
string|null
getSocialId()
Get socialId
in UserSocialTrait at line 101
UserLight
setSocialToken(string|null $socialToken)
Set socialToken
in UserSocialTrait at line 111
string|null
getSocialToken()
Get socialToken
in UserSocialTrait at line 121
UserLight
setSocialPicture(string|null $socialPicture)
Set socialPicture
in UserSocialTrait at line 131
string|null
getSocialPicture()
Get socialPicture