Feature #310

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

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

Status:
Resolved
Priority:
Should have
Assignee:
Category:
MVC
Target version:
-
Start date:
2008-02-14
Due date:
% Done:

100%

PHP Version:
Has patch:
Complexity:

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 11 years ago

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

Resolved by #319.

#2 Updated by Robert Lemke about 11 years ago

  • Target version deleted (18)

Also available in: Atom PDF