Copied!

BeforeCreateSiteEvent

BeforeCreateSiteEvent.php : 16
Extends BeforeEvent

Event emitted before action execution.

Methods

public__construct()

BeforeCreateSiteEvent.php : 24
public __construct(SiteCreateStruct $siteCreateStruct)

Parameters

Name Type Default value Description
$siteCreateStruct SiteCreateStruct - -

publicgetSite()

BeforeCreateSiteEvent.php : 34
public getSite() : Site

Return values

Site

publicgetSiteCreateStruct()

BeforeCreateSiteEvent.php : 29
public getSiteCreateStruct() : SiteCreateStruct

Return values

SiteCreateStruct

publichasSite()

BeforeCreateSiteEvent.php : 48
public hasSite() : bool

Return values

bool

publicsetSite()

BeforeCreateSiteEvent.php : 43
public setSite(Site|null $site) : void

Parameters

Name Type Default value Description
$site Site|null - -