PHP Class Sulu\Bundle\SecurityBundle\Entity\UserSetting

Show file Open project: sulu/sulu Class Usage Examples

Public Methods

Method Description
getKey ( ) : string Returns the key for this user setting.
getUser ( ) : Sulu\Component\Security\Authentication\UserInterface Returns the user for this user setting.
getValue ( ) : string Returns the value for this user setting.
setKey ( string $key ) : UserSetting Sets the key for this user setting.
setUser ( Sulu\Component\Security\Authentication\UserInterface $user ) : UserSetting Sets the user for this user setting.
setValue ( string $value ) : UserSetting Sets the value for this user setting.

Method Details

getKey() public method

Returns the key for this user setting.
public getKey ( ) : string
return string

getUser() public method

Returns the user for this user setting.
public getUser ( ) : Sulu\Component\Security\Authentication\UserInterface
return Sulu\Component\Security\Authentication\UserInterface

getValue() public method

Returns the value for this user setting.
public getValue ( ) : string
return string

setKey() public method

Sets the key for this user setting.
public setKey ( string $key ) : UserSetting
$key string
return UserSetting

setUser() public method

Sets the user for this user setting.
public setUser ( Sulu\Component\Security\Authentication\UserInterface $user ) : UserSetting
$user Sulu\Component\Security\Authentication\UserInterface
return UserSetting

setValue() public method

Sets the value for this user setting.
public setValue ( string $value ) : UserSetting
$value string
return UserSetting