Copied!

AddPolicyByRoleDraftEvent

AddPolicyByRoleDraftEvent.php : 15
Extends AfterEvent

Event emitted after action execution.

Methods

public__construct()

AddPolicyByRoleDraftEvent.php : 25
public __construct(RoleDraft $updatedRoleDraft, RoleDraft $roleDraft, PolicyCreateStruct $policyCreateStruct)

Parameters

Name Type Default value Description
$updatedRoleDraft RoleDraft - -
$roleDraft RoleDraft - -
$policyCreateStruct PolicyCreateStruct - -

publicgetPolicyCreateStruct()

AddPolicyByRoleDraftEvent.php : 40
public getPolicyCreateStruct() : PolicyCreateStruct

Return values

PolicyCreateStruct

publicgetRoleDraft()

AddPolicyByRoleDraftEvent.php : 35
public getRoleDraft() : RoleDraft

Return values

RoleDraft

publicgetUpdatedRoleDraft()

AddPolicyByRoleDraftEvent.php : 45
public getUpdatedRoleDraft() : RoleDraft

Return values

RoleDraft

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().