PHP Class WellCommerce\Bundle\AdminBundle\Entity\User

Author: Adam Piotrowski ([email protected])
Inheritance: implements WellCommerce\Bundle\AdminBundle\Entity\UserInterface, use trait Knp\DoctrineBehaviors\Model\Timestampable\Timestampable, use trait Knp\DoctrineBehaviors\Model\Blameable\Blameable, use trait WellCommerce\Bundle\AppBundle\Doctrine\ORM\Behaviours\EnableableTrait
显示文件 Open project: wellcommerce/wellcommerce Class Usage Examples

Protected Properties

Property Type Description
$apiKey string
$email string
$firstName string
$groups Doctrine\Common\Collections\Collection
$lastName string
$password string
$roles Doctrine\Common\Collections\Collection
$salt string
$username string

Public Methods

Method Description
__toString ( ) : string
addRole ( WellCommerce\Bundle\AdminBundle\Entity\RoleInterface $role )
eraseCredentials ( )
getApiKey ( ) : string
getEmail ( ) : string
getFirstName ( ) : string
getGroups ( ) : Doctrine\Common\Collections\Collection
getLastName ( ) : string
getPassword ( )
getRoles ( )
getSalt ( )
getUsername ( )
isEqualTo ( Symfony\Component\Security\Core\User\UserInterface $user )
serialize ( )
setApiKey ( string $apiKey ) {@inheritdoc}122
setEmail ( string $email )
setFirstName ( string $firstName )
setGroups ( Doctrine\Common\Collections\Collection $groups )
setLastName ( string $lastName )
setPassword ( $password )
setRoles ( Doctrine\Common\Collections\Collection $roles )
setSalt ( $salt )
setUsername ( $username )
unserialize ( $serialized )

Method Details

__toString() public method

public __toString ( ) : string
return string

addRole() public method

public addRole ( WellCommerce\Bundle\AdminBundle\Entity\RoleInterface $role )
$role WellCommerce\Bundle\AdminBundle\Entity\RoleInterface

eraseCredentials() public method

public eraseCredentials ( )

getApiKey() public method

public getApiKey ( ) : string
return string

getEmail() public method

public getEmail ( ) : string
return string

getFirstName() public method

public getFirstName ( ) : string
return string

getGroups() public method

public getGroups ( ) : Doctrine\Common\Collections\Collection
return Doctrine\Common\Collections\Collection

getLastName() public method

public getLastName ( ) : string
return string

getPassword() public method

public getPassword ( )

getRoles() public method

public getRoles ( )

getSalt() public method

public getSalt ( )

getUsername() public method

public getUsername ( )

isEqualTo() public method

public isEqualTo ( Symfony\Component\Security\Core\User\UserInterface $user )
$user Symfony\Component\Security\Core\User\UserInterface

serialize() public method

public serialize ( )

setApiKey() public method

{@inheritdoc}122
public setApiKey ( string $apiKey )
$apiKey string

setEmail() public method

public setEmail ( string $email )
$email string

setFirstName() public method

public setFirstName ( string $firstName )
$firstName string

setGroups() public method

public setGroups ( Doctrine\Common\Collections\Collection $groups )
$groups Doctrine\Common\Collections\Collection

setLastName() public method

public setLastName ( string $lastName )
$lastName string

setPassword() public method

public setPassword ( $password )

setRoles() public method

public setRoles ( Doctrine\Common\Collections\Collection $roles )
$roles Doctrine\Common\Collections\Collection

setSalt() public method

public setSalt ( $salt )

setUsername() public method

public setUsername ( $username )

unserialize() public method

public unserialize ( $serialized )

Property Details

$apiKey protected_oe property

protected string $apiKey
return string

$email protected_oe property

protected string $email
return string

$firstName protected_oe property

protected string $firstName
return string

$groups protected_oe property

protected Collection,Doctrine\Common\Collections $groups
return Doctrine\Common\Collections\Collection

$lastName protected_oe property

protected string $lastName
return string

$password protected_oe property

protected string $password
return string

$roles protected_oe property

protected Collection,Doctrine\Common\Collections $roles
return Doctrine\Common\Collections\Collection

$salt protected_oe property

protected string $salt
return string

$username protected_oe property

protected string $username
return string