Bug #12

Add support for autowiring

Added by Robert Lemke over 8 years ago. Updated almost 5 years ago.

Status:Closed Start date:
Priority:Should have Due date:
Assigned To:Robert Lemke % Done:

0%

Category:AOP
Target version:TYPO3 Flow Base Distribution - 0.1
PHP Version: Complexity:
Has patch: Affected Flow version:

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 8 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