34
34
35
35
* You can safely type hint against the interface.
36
36
37
- * You can safely use any of the methods provided by the interface.
37
+ * You can safely call any of the methods provided by the interface.
38
38
39
39
However:
40
40
@@ -70,7 +70,7 @@ The following table summarizes the safe operations when using our interfaces:
70
70
Operation Normal API
71
71
============================================== ============== ==============
72
72
Type hint against Safe Safe
73
- Use method Safe Safe
73
+ Call method Safe Safe
74
74
**In Implementing Classes **
75
75
Implement method Not Safe [1 ]_ Safe
76
76
Add custom method Not Safe [1 ]_ Safe
@@ -97,7 +97,9 @@ All classes in the ``Symfony`` namespace are **safe for use**. That means that:
97
97
98
98
* You can safely extend the class.
99
99
100
- * You can safely use public properties and methods.
100
+ * You can safely access public properties.
101
+
102
+ * You can safely call public methods.
101
103
102
104
When extending the class:
103
105
@@ -118,11 +120,13 @@ API Classes
118
120
All classes tagged with ``@api `` are also **safe for extension **. That means
119
121
that:
120
122
121
- * You can safely use protected properties and methods.
123
+ * You can safely access protected properties and methods.
124
+
125
+ * You can safely call protected methods.
122
126
123
127
* You can safely override protected properties.
124
128
125
- * You can safely override public or protected methods.
129
+ * You can safely override public and protected methods.
126
130
127
131
128
132
Internal Classes
@@ -143,11 +147,11 @@ Operation Normal API
143
147
Type hint against Safe Safe
144
148
Create instance Safe Safe
145
149
Extend Safe Safe
146
- Use public property Safe Safe
147
- Use public method Safe Safe
150
+ Access public property Safe Safe
151
+ Call public method Safe Safe
148
152
**In Extending Classes **
149
- Use protected property Not Safe [1 ]_ Safe
150
- Use protected method Not Safe [1 ]_ Safe
153
+ Access protected property Not Safe [1 ]_ Safe
154
+ Call protected method Not Safe [1 ]_ Safe
151
155
Override public property Safe Safe
152
156
Override protected property Not Safe [1 ]_ Safe
153
157
Override public method Not Safe [1 ]_ Safe
0 commit comments