PHP Class Neos\Flow\Tests\Functional\Security\Fixtures\RestrictableEntity

显示文件 Open project: neos/flow-development-collection Class Usage Examples

Protected Properties

Property Type Description
$deletedOn DateTime
$hidden boolean
$name string
$ownerAccount Neos\Flow\Security\Account

Public Methods

Method Description
__construct ( string $name ) Constructor
delete ( )
getName ( ) : string
getOwnerAccount ( ) : Account
isHidden ( ) : boolean
setHidden ( boolean $hidden )
setName ( string $name )
setOwnerAccount ( Account $ownerAccount )

Method Details

__construct() public method

Constructor
public __construct ( string $name )
$name string The name of the entity

delete() public method

public delete ( )

getName() public method

public getName ( ) : string
return string

getOwnerAccount() public method

public getOwnerAccount ( ) : Account
return Neos\Flow\Security\Account

isHidden() public method

public isHidden ( ) : boolean
return boolean Returns TRUE, if this entity is hidden

setHidden() public method

public setHidden ( boolean $hidden )
$hidden boolean

setName() public method

public setName ( string $name )
$name string

setOwnerAccount() public method

public setOwnerAccount ( Account $ownerAccount )
$ownerAccount Neos\Flow\Security\Account

Property Details

$deletedOn protected_oe property

protected DateTime $deletedOn
return DateTime

$hidden protected_oe property

protected bool $hidden
return boolean

$name protected_oe property

protected string $name
return string

$ownerAccount protected_oe property

protected Account,Neos\Flow\Security $ownerAccount
return Neos\Flow\Security\Account