ImportStaticSqlDataOnPackageInitialization
Read onlyYes
FinalYes
Listener to import static sql data ("ext_tables_static+adt.sql") after package activation
Table of Contents
Methods
- __construct() : mixed
- __invoke() : void
Methods
__construct()
public
__construct(Registry $registry, SqlReader $sqlReader, SchemaMigrator $schemaMigrator) : mixed
Parameters
- $registry : Registry
- $sqlReader : SqlReader
- $schemaMigrator : SchemaMigrator
__invoke()
public
__invoke(PackageInitializationEvent $event) : void
Parameters
- $event : PackageInitializationEvent
Attributes
- #[AsEventListener]
- $after: ImportExtensionDataOnPackageInitialization::class