PHP Class Sulu\Bundle\SecurityBundle\Entity\BaseRole

Inheritance: extends Symfony\Component\Security\Core\Role\Role, implements Sulu\Component\Security\Authentication\RoleInterface
显示文件 Open project: sulu/sulu

Public Methods

Method Description
__construct ( )
getChanged ( ) : DateTime Get changed.
getChanger ( ) : Sulu\Component\Security\Authentication\UserInterface Get changer.
getCreated ( ) : DateTime Get created.
getCreator ( ) : Sulu\Component\Security\Authentication\UserInterface Get creator.
getId ( ) : integer Get id.
getIdentifier ( )
getName ( ) : string Get name.
getRole ( )
getSecurityType ( ) : SecurityType Get securityType.
getSystem ( ) : string Get system.
setChanger ( Sulu\Component\Security\Authentication\UserInterface $changer = null ) : BaseRole Set changer.
setCreator ( Sulu\Component\Security\Authentication\UserInterface $creator = null ) : BaseRole Set creator.
setName ( string $name ) : BaseRole Set name.
setSecurityType ( SecurityType $securityType = null ) : BaseRole Set securityType.
setSystem ( string $system ) : BaseRole Set system.

Method Details

__construct() public method

public __construct ( )

getChanged() public method

Get changed.
public getChanged ( ) : DateTime
return DateTime

getChanger() public method

Get changer.
public getChanger ( ) : Sulu\Component\Security\Authentication\UserInterface
return Sulu\Component\Security\Authentication\UserInterface

getCreated() public method

Get created.
public getCreated ( ) : DateTime
return DateTime

getCreator() public method

Get creator.
public getCreator ( ) : Sulu\Component\Security\Authentication\UserInterface
return Sulu\Component\Security\Authentication\UserInterface

getId() public method

Get id.
public getId ( ) : integer
return integer

getIdentifier() public method

public getIdentifier ( )

getName() public method

Get name.
public getName ( ) : string
return string

getRole() public method

public getRole ( )

getSecurityType() public method

Get securityType.
public getSecurityType ( ) : SecurityType
return SecurityType

getSystem() public method

Get system.
public getSystem ( ) : string
return string

setChanger() public method

Set changer.
public setChanger ( Sulu\Component\Security\Authentication\UserInterface $changer = null ) : BaseRole
$changer Sulu\Component\Security\Authentication\UserInterface
return BaseRole

setCreator() public method

Set creator.
public setCreator ( Sulu\Component\Security\Authentication\UserInterface $creator = null ) : BaseRole
$creator Sulu\Component\Security\Authentication\UserInterface
return BaseRole

setName() public method

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

setSecurityType() public method

Set securityType.
public setSecurityType ( SecurityType $securityType = null ) : BaseRole
$securityType SecurityType
return BaseRole

setSystem() public method

Set system.
public setSystem ( string $system ) : BaseRole
$system string
return BaseRole