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