Feature #310

Find a way to simplify setter injection in ActionController (and elsewhere)

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

Status:Resolved Start date:2008-02-14
Priority:Should have Due date:
Assigned To:Robert Lemke % Done:

100%

Category:MVC
Target version:-
PHP Version: Complexity:
Has patch:

Description

Currently we need to write a setter method for all dependencies of an ActionController. The constructor can't be used for DI because it is needed by the base class.

This is a very tedious and repetitive task which could be simplified by just declaring the dependency and get them setter injected automatically.

History

#1 Updated by Robert Lemke over 7 years ago

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

Resolved by #319.

#2 Updated by Robert Lemke about 7 years ago

  • Target version deleted (18)

Also available in: Atom PDF