PackageSetup
Read onlyYes
Only for use in extension:setup and TYPO3 installation The class can not be final, because it is mocked in tests
Attributes
- #[Autoconfigure]
- $public: true
Table of Contents
Methods
- __construct() : mixed
- setup() : array<string|int, FlashMessage>
Methods
__construct()
public
__construct(SqlReader $sqlReader, SchemaMigrator $schemaMigrator, ExtensionConfiguration $extensionConfiguration, EventDispatcherInterface $eventDispatcher) : mixed
Parameters
- $sqlReader : SqlReader
- $schemaMigrator : SchemaMigrator
- $extensionConfiguration : ExtensionConfiguration
- $eventDispatcher : EventDispatcherInterface
setup()
public
setup(array<string|int, mixed> $packagesToSetUp[, bool $packageActivated = false ][, object|null $emitter = null ][, ContainerInterface|null $container = null ]) : array<string|int, FlashMessage>
Parameters
- $packagesToSetUp : array<string|int, mixed>
- $packageActivated : bool = false
- $emitter : object|null = null
- $container : ContainerInterface|null = null