Feature #310

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

Added by Robert Lemke over 5 years ago. Updated over 2 years ago.

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

100%

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

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

Updated by Robert Lemke over 5 years ago

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

Resolved by #319.

Updated by Robert Lemke almost 5 years ago

  • Target version deleted (18)

Also available in: Atom PDF