File tree 1 file changed +3
-15
lines changed
1 file changed +3
-15
lines changed Original file line number Diff line number Diff line change @@ -110,24 +110,12 @@ All classes in the ``Symfony`` namespace are **safe for use**. That means that:
110
110
111
111
When extending the class:
112
112
113
- * You cannot safely use protected properties and methods. We may change or
114
- remove them, but will document this in the UPGRADE file.
115
-
116
113
* You can safely override public properties.
117
114
118
- * You cannot safely override protected properties. We may change or remove them,
119
- but will document this in the UPGRADE file.
120
-
121
- * You cannot safely override public or protected methods. We may change them,
122
- but will document this in the UPGRADE file.
123
-
124
- * You cannot safely add public or protected properties. We may add a property
125
- with the same name.
126
-
127
- * You cannot safely add a new public or protected method. We may add a method
128
- with the same name.
115
+ However:
129
116
130
- * You cannot safely add parameters to overridden methods. We may do the same.
117
+ * You cannot safely override methods in extending classes. The class may change,
118
+ but all changes will be documented in the UPGRADE file.
131
119
132
120
Properties and methods tagged with ``@api `` are treated as if they belonged
133
121
to an API class.
You can’t perform that action at this time.
0 commit comments