Copied!

CreateMemberEvent

CreateMemberEvent.php : 17
Extends Event

Event is the base class for classes containing event data.

This class contains no event data. It is used by events that do not pass state information to an event handler when an event is raised.

You can call the method stopPropagation() to abort the execution of further listeners in your event listener.

Methods

public__construct()

CreateMemberEvent.php : 27
public __construct(Member $member, Company $company, MemberCreateStruct $memberCreateStruct, Role $role)

Parameters

Name Type Default value Description
$member Member - -
$company Company - -
$memberCreateStruct MemberCreateStruct - -
$role Role - -

publicgetCompany()

CreateMemberEvent.php : 44
public getCompany() : Company

Return values

Company

publicgetMember()

CreateMemberEvent.php : 39
public getMember() : Member

Return values

Member

publicgetMemberCreateStruct()

CreateMemberEvent.php : 49
public getMemberCreateStruct() : MemberCreateStruct

Return values

MemberCreateStruct

publicgetRole()

CreateMemberEvent.php : 54
public getRole() : Role

Return values

Role

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