Task #1209

Make @required default and add @optional instead

Added by Karsten Dambekalns almost 8 years ago. Updated almost 5 years ago.

Status:Resolved Start date:
Priority:Could have Due date:
Assigned To:Karsten Dambekalns % Done:

100%

Category:Object
Target version:-
Sprint: Has patch:
PHP Version: Complexity:

Description

Setter injection methods can currently be annotated with @required. It seems to be that most injected dependencies are required, so this should be the default and instead optional dependencies should be marked with @optional.

Associated revisions

Revision b92f826d
Added by Karsten Dambekalns almost 7 years ago

FLOW3: autowired setter injectors are now required by default, fixes #1209.

Revision c9f0ecfe
Added by Karsten Dambekalns almost 7 years ago

FLOW3: autowired setter injectors are now required by default, see r1145, relates to #1209.

History

#2 Updated by Karsten Dambekalns almost 7 years ago

  • Status changed from New to Accepted
  • Assigned To changed from Robert Lemke to Karsten Dambekalns

#3 Updated by Karsten Dambekalns almost 7 years ago

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

Applied in changeset r1145.

Also available in: Atom PDF