PHP Class Wallabag\UserBundle\Entity\User

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

Protected Properties

Property Type Description
$config
$createdAt date
$entries
$id integer
$name string
$updatedAt date

Public Methods

Method 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 method

public __construct ( )

addEntry() public method

public addEntry ( Entry $entry ) : User
$entry Wallabag\CoreBundle\Entity\Entry
return User

addTrustedComputer() public method

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

getConfig() public method

Get config.
public getConfig ( ) : Config
return Wallabag\CoreBundle\Entity\Config

getCreatedAt() public method

public getCreatedAt ( ) : string
return string

getEmailAuthCode() public method

public getEmailAuthCode ( )

getEntries() public method

public getEntries ( ) : ArrayCollection
return ArrayCollection

getName() public method

Get name.
public getName ( ) : string
return string

getUpdatedAt() public method

public getUpdatedAt ( ) : string
return string

isEmailAuthEnabled() public method

public isEmailAuthEnabled ( )

isEqualTo() public method

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

isTrustedComputer() public method

public isTrustedComputer ( $token )

isTwoFactorAuthentication() public method

setConfig() public method

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

setEmailAuthCode() public method

public setEmailAuthCode ( $authCode )

setName() public method

Set name.
public setName ( string $name ) : User
$name string
return User

setTwoFactorAuthentication() public method

public setTwoFactorAuthentication ( boolean $twoFactorAuthentication )
$twoFactorAuthentication boolean

timestamps() public method

public timestamps ( )

Property Details

$config protected_oe property

protected $config

$createdAt protected_oe property

protected date $createdAt
return date

$entries protected_oe property

protected $entries

$id protected_oe property

protected int $id
return integer

$name protected_oe property

protected string $name
return string

$updatedAt protected_oe property

protected date $updatedAt
return date