Task #1209
Make @required default and add @optional instead
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
FLOW3: autowired setter injectors are now required by default, fixes #1209.
FLOW3: autowired setter injectors are now required by default, see r1145, relates to #1209.
History
#1 Updated by Sebastian Kurfuerst almost 8 years ago
bla
#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.