Feature #2297

automagic settings injection

Added by Robert Lemke almost 11 years ago. Updated almost 9 years ago.

Status:
Resolved
Priority:
Should have
Assignee:
Category:
Object
Start date:
2008-12-10
Due date:
% Done:

100%

PHP Version:
Has patch:
Complexity:

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

Revision f53a8787 (diff)
Added by Robert Lemke over 10 years ago

  • 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 10 years ago

  • Subject changed from injectSettings to automagic settings injection
  • Status changed from New to Accepted

#2 Updated by Robert Lemke over 10 years ago

  • Status changed from Accepted to Resolved
  • % Done changed from 0 to 100

Applied in changeset r1687.

Also available in: Atom PDF