PHP Class Wallabag\UserBundle\Entity\User

Inheritance: extends FOS\UserBundle\Model\User, implements Scheb\TwoFactorBundle\Model\Email\TwoFactorInterface, implements Scheb\TwoFactorBundle\Model\TrustedComputerInterface
Afficher le fichier Open project: wallabag/wallabag Class Usage Examples

Protected Properties

Свойство Type Description
$config
$createdAt date
$entries
$id integer
$name string
$updatedAt date

Méthodes publiques

Méthode Description
__construct ( )
addEntry ( Entry $entry ) : User
addTrustedComputer ( $token, DateTime $validUntil )
getConfig ( ) : Config Get config.
getCreatedAt ( ) : string
getEmailAuthCode ( )
getEntries ( ) : ArrayCollection
getName ( ) : string Get name.
getUpdatedAt ( ) : string
isEmailAuthEnabled ( )
isEqualTo ( Symfony\Component\Security\Core\User\UserInterface $user )
isTrustedComputer ( $token )
isTwoFactorAuthentication ( ) : boolean
setConfig ( Config $config = null ) : User Set config.
setEmailAuthCode ( $authCode )
setName ( string $name ) : User Set name.
setTwoFactorAuthentication ( boolean $twoFactorAuthentication )
timestamps ( )

Method Details

__construct() public méthode

public __construct ( )

addEntry() public méthode

public addEntry ( Entry $entry ) : User
$entry Wallabag\CoreBundle\Entity\Entry
Résultat User

addTrustedComputer() public méthode

public addTrustedComputer ( $token, DateTime $validUntil )
$validUntil DateTime

getConfig() public méthode

Get config.
public getConfig ( ) : Config
Résultat Wallabag\CoreBundle\Entity\Config

getCreatedAt() public méthode

public getCreatedAt ( ) : string
Résultat string

getEmailAuthCode() public méthode

public getEmailAuthCode ( )

getEntries() public méthode

public getEntries ( ) : ArrayCollection
Résultat ArrayCollection

getName() public méthode

Get name.
public getName ( ) : string
Résultat string

getUpdatedAt() public méthode

public getUpdatedAt ( ) : string
Résultat string

isEmailAuthEnabled() public méthode

public isEmailAuthEnabled ( )

isEqualTo() public méthode

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

isTrustedComputer() public méthode

public isTrustedComputer ( $token )

isTwoFactorAuthentication() public méthode

public isTwoFactorAuthentication ( ) : boolean
Résultat boolean

setConfig() public méthode

Set config.
public setConfig ( Config $config = null ) : User
$config Wallabag\CoreBundle\Entity\Config
Résultat User

setEmailAuthCode() public méthode

public setEmailAuthCode ( $authCode )

setName() public méthode

Set name.
public setName ( string $name ) : User
$name string
Résultat User

setTwoFactorAuthentication() public méthode

public setTwoFactorAuthentication ( boolean $twoFactorAuthentication )
$twoFactorAuthentication boolean

timestamps() public méthode

public timestamps ( )

Property Details

$config protected_oe property

protected $config

$createdAt protected_oe property

protected date $createdAt
Résultat date

$entries protected_oe property

protected $entries

$id protected_oe property

protected int $id
Résultat integer

$name protected_oe property

protected string $name
Résultat string

$updatedAt protected_oe property

protected date $updatedAt
Résultat date