Feature #2297
automagic settings injection
Status: | Resolved | Start date: | 2008-12-10 | |
---|---|---|---|---|
Priority: | Should have | Due date: | ||
Assigned To: | Robert Lemke | % Done: | 100% |
|
Category: | Object | |||
Target version: | TYPO3 Flow Base Distribution - 1.0 alpha 1 | |||
PHP Version: | Complexity: | |||
Has patch: |
Description
The object builder (setter autowiring) should have special support for injecting settings.
If a method "injectSettings" exists, the object builder will try to retrieve settings for the package the object is in and calls the injectSettings method, passing these settings.
Associated revisions
- FLOW3: (Object) Implemented support for magic injectSettings() methods. Resolves #2297
- FLOW3: (Documentation) Added documentation for the injectSettings feature.
History
#1 Updated by Robert Lemke over 6 years ago
- Subject changed from injectSettings to automagic settings injection
- Status changed from New to Accepted
#2 Updated by Robert Lemke over 6 years ago
- Status changed from Accepted to Resolved
- % Done changed from 0 to 100
Applied in changeset r1687.