ImportSiteConfigurationsOnPackageInitialization implements LoggerAwareInterface uses LoggerAwareTrait
FinalYes
Listener to import site configurations after package initialization
Table of Contents
Interfaces
- LoggerAwareInterface
Methods
- __construct() : mixed
- __invoke() : void
Methods
__construct()
public
__construct(Registry $registry, SiteConfiguration $siteConfiguration, SiteWriter $siteWriter) : mixed
Parameters
- $registry : Registry
- $siteConfiguration : SiteConfiguration
- $siteWriter : SiteWriter
__invoke()
public
__invoke(PackageInitializationEvent $event) : void
Parameters
- $event : PackageInitializationEvent
Attributes
- #[AsEventListener]
- $after: ImportContentOnPackageInitialization::class