Copied!

MapCompanyCreateStructEvent

MapCompanyCreateStructEvent.php : 16
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()

MapCompanyCreateStructEvent.php : 26
public __construct(CompanyCreateStruct $companyCreateStruct, Application $application, CustomerGroupInterface $customerGroup, int $salesRepId)

Parameters

Name Type Default value Description
$companyCreateStruct CompanyCreateStruct - -
$application Application - -
$customerGroup CustomerGroupInterface - -
$salesRepId int - -

publicgetApplication()

MapCompanyCreateStructEvent.php : 43
public getApplication() : Application

Return values

Application

publicgetCompanyCreateStruct()

MapCompanyCreateStructEvent.php : 38
public getCompanyCreateStruct() : CompanyCreateStruct

Return values

CompanyCreateStruct

publicgetCustomerGroup()

MapCompanyCreateStructEvent.php : 48
public getCustomerGroup() : CustomerGroupInterface

Return values

CustomerGroupInterface

publicgetSalesRepId()

MapCompanyCreateStructEvent.php : 58
public getSalesRepId() : int

Return values

int

publicisPropagationStopped()

Event.php : 38
public isPropagationStopped() : bool

Return values

bool

publicsetCompanyCreateStruct()

MapCompanyCreateStructEvent.php : 53
public setCompanyCreateStruct(CompanyCreateStruct $companyCreateStruct) : void

Parameters

Name Type Default value Description
$companyCreateStruct CompanyCreateStruct - -

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