Bug #12

Add support for autowiring

Added by Robert Lemke over 12 years ago. Updated almost 9 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
AOP
Start date:
Due date:
% Done:

0%

PHP Version:
Has patch:
Complexity:

Description

The Component Manager should support autowiring for the constructor arguments during the dependency injection. Though It is still up for discussion if that should be the default behaviour.

History

#1 Updated by Robert Lemke over 12 years ago

  • Status changed from New to Closed
  • Sprint set to fixed
(In r137) * Reflection: T3P_Reflection_Method now gets the instance of the DocCommentParser by directly invoking "new" instead of using the component manager. That cause too much overhead and is also risky because the component manager is not fully initialized when reflection is used.
  • Component Manager: Implemented autowiring support for constructor injection (fixes #12). This feature is now active by default! Documentation is on the way ...

Also available in: Atom PDF