File tree 1 file changed +6
-6
lines changed
1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -134,13 +134,13 @@ class exposes public methods to extract four types of information:
134
134
135
135
Be sure to pass a *class * name, not an object to the extractor methods::
136
136
137
- // bad! It may work, but not with all extractors
138
- $propertyInfo->getProperties($awesomeObject);
137
+ // bad! It may work, but not with all extractors
138
+ $propertyInfo->getProperties($awesomeObject);
139
139
140
- // Good!
141
- $propertyInfo->getProperties(get_class($awesomeObject));
142
- $propertyInfo->getProperties('Example\N amespace\Y ourAwesomeClass');
143
- $propertyInfo->getProperties(YourAwesomeClass::class);
140
+ // Good!
141
+ $propertyInfo->getProperties(get_class($awesomeObject));
142
+ $propertyInfo->getProperties('Example\Namespace\YourAwesomeClass');
143
+ $propertyInfo->getProperties(YourAwesomeClass::class);
144
144
145
145
.. _property-info-list :
146
146
You can’t perform that action at this time.
0 commit comments