Copied!

BeforeCreateCompanyEvent

BeforeCreateCompanyEvent.php : 16
Extends Event

Methods

public__construct()

BeforeCreateCompanyEvent.php : 26
public __construct(CompanyCreateStruct $companyCreateStruct[, array<string|int, string>|null $fieldIdentifiersToValidate = null ])

Parameters

Name Type Default value Description
$companyCreateStruct CompanyCreateStruct - -
$fieldIdentifiersToValidate array<string|int, string>|null null -

publicgetCompany()

BeforeCreateCompanyEvent.php : 47
public getCompany() : Company

Return values

Company

publicgetCompanyCreateStruct()

BeforeCreateCompanyEvent.php : 34
public getCompanyCreateStruct() : CompanyCreateStruct

Return values

CompanyCreateStruct

publicgetFieldIdentifiersToValidate()

BeforeCreateCompanyEvent.php : 42
public getFieldIdentifiersToValidate() : array<string|int, string>|null

Return values

array<string|int, string>|null

publichasCompany()

BeforeCreateCompanyEvent.php : 61
public hasCompany() : bool

Return values

bool

publicsetCompany()

BeforeCreateCompanyEvent.php : 56
public setCompany(Company|null $company) : void

Parameters

Name Type Default value Description
$company Company|null - -