-
Notifications
You must be signed in to change notification settings - Fork 84
Closed
Milestone
Description
Currently, everything uses protected properties in the bundle. This means that all properties are potential extension points, and a change on them will be a BC break.
As we want to follow semver, I think we should rather use the private visibility for properties and switch to protected only for places where we decide to expose a supported extension point. This will make thing easier to manage BC. A request to increase the visibility will need to be justified with a use case for the extension point (allowing us to decide whether it is the right way to provide such extension point).
Note that this rule will be common for our users, as it is the rule applied in Symfony itself.
what do you think about it ?
Metadata
Metadata
Assignees
Labels
No labels