[Flow] Access config from installer script

toco at aimeos.org toco at aimeos.org
Tue Nov 4 22:40:05 CET 2014


Hi all

How do I access the database configuration (TYPO3:Flow:persistence:backendOptions) from the Settings.yaml in a composer installer script?
Is this possible or do I have to execute a command controller (from the composer script) which gets the settings injected when using the object manager?

There's an example in the documentation how to inject a single value but can I also inject this:

@Flow\Inject(setting="persistence.backendOptions", package="TYPO3.Flow")

Thanks

Toco



More information about the Flow mailing list