Policy
class Policy implements JsonSerializable
Policy class.
Constants
EFFECTS |
|
ACTIONS |
|
Methods
__construct(string $effect, $actions = [], ConstraintInterface $constraint = null)
Policy constructor.
string
getEffect()
No description
string|string[]
getActions()
No description
setActions(string|string[] $actions)
No description
ConstraintInterface|null
getConstraint()
No description
jsonSerialize()
{@inheritdoc}
Details
at line 64
__construct(string $effect, $actions = [], ConstraintInterface $constraint = null)
Policy constructor.
at line 74
string
getEffect()
at line 84
Policy
setEffect(string $effect)
at line 98
string|string[]
getActions()
at line 108
Policy
setActions(string|string[] $actions)
at line 126
Policy
addAction(string $action)
at line 145
ConstraintInterface|null
getConstraint()
at line 153
Policy
setConstraint(ConstraintInterface $constraint = null)
at line 163
jsonSerialize()
{@inheritdoc}