* @since 3.0.0 */ class SiteEvent extends CancelableEvent { /** * @var Site The site model associated with the event. */ public Site $site; /** * @var bool Whether the site is brand new */ public bool $isNew = false; /** * @var int|null The old primary site ID */ public ?int $oldPrimarySiteId = null; }