Copied!

RemovePolicyByRoleDraftEvent

RemovePolicyByRoleDraftEvent.php : 15
Extends AfterEvent

Event emitted after action execution.

Methods

public__construct()

RemovePolicyByRoleDraftEvent.php : 26
public __construct(RoleDraft $updatedRoleDraft, RoleDraft $roleDraft, PolicyDraft $policyDraft)

Parameters

Name Type Default value Description
$updatedRoleDraft RoleDraft - -
$roleDraft RoleDraft - -
$policyDraft PolicyDraft - -

publicgetPolicyDraft()

RemovePolicyByRoleDraftEvent.php : 41
public getPolicyDraft() : PolicyDraft

Return values

PolicyDraft

publicgetRoleDraft()

RemovePolicyByRoleDraftEvent.php : 36
public getRoleDraft() : RoleDraft

Return values

RoleDraft

publicgetUpdatedRoleDraft()

RemovePolicyByRoleDraftEvent.php : 46
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().