Copied!

UpdatePolicyByRoleDraftEvent

UpdatePolicyByRoleDraftEvent.php : 16
Extends AfterEvent

Event emitted after action execution.

Methods

public__construct()

UpdatePolicyByRoleDraftEvent.php : 30
public __construct(PolicyDraft $updatedPolicyDraft, RoleDraft $roleDraft, PolicyDraft $policy, PolicyUpdateStruct $policyUpdateStruct)

Parameters

Name Type Default value Description
$updatedPolicyDraft PolicyDraft - -
$roleDraft RoleDraft - -
$policy PolicyDraft - -
$policyUpdateStruct PolicyUpdateStruct - -

publicgetPolicy()

UpdatePolicyByRoleDraftEvent.php : 47
public getPolicy() : PolicyDraft

Return values

PolicyDraft

publicgetPolicyUpdateStruct()

UpdatePolicyByRoleDraftEvent.php : 52
public getPolicyUpdateStruct() : PolicyUpdateStruct

Return values

PolicyUpdateStruct

publicgetRoleDraft()

UpdatePolicyByRoleDraftEvent.php : 42
public getRoleDraft() : RoleDraft

Return values

RoleDraft

publicgetUpdatedPolicyDraft()

UpdatePolicyByRoleDraftEvent.php : 57
public getUpdatedPolicyDraft() : PolicyDraft

Return values

PolicyDraft

publicisPropagationStopped()

Event.php : 38
public isPropagationStopped() : bool

Return values

bool

publicstopPropagation()

Event.php : 50

Stops the propagation of the event to further event listeners.

public stopPropagation() : void

If multiple event listeners are connected to the same event, no further event listener will be triggered once any trigger calls stopPropagation().