Required
in package
FinalYes
A required dependency.
This attribute indicates that a property holds a required dependency. The annotated property or method should be considered during the instantiation process of the containing class.
Tags
Attributes
- #[Attribute]
- \Attribute::TARGET_METHOD | \Attribute::TARGET_PROPERTY