File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 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:
134134
135135 Be sure to pass a *class * name, not an object to the extractor methods::
136136
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);
139139
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);
144144
145145.. _property-info-list :
146146
You can’t perform that action at this time.
0 commit comments