@@ -144,13 +144,13 @@ containing each property name as a string::
144144
145145 $properties = $propertyInfo->getProperties($class);
146146 /*
147- Example Result
148- --------------
149- array(3) {
150- [0] => string(8) "username"
151- [1] => string(8) "password"
152- [2] => string(6) "active"
153- }
147+ Example Result
148+ --------------
149+ array(3) {
150+ [0] => string(8) "username"
151+ [1] => string(8) "password"
152+ [2] => string(6) "active"
153+ }
154154 */
155155
156156.. _property-info-type :
@@ -163,21 +163,20 @@ provide :ref:`extensive data type information <components-property-info-type>`
163163for a property::
164164
165165 $types = $propertyInfo->getTypes($class, $property);
166-
167166 /*
168- Example Result
169- --------------
170- array(1) {
171- [0] =>
172- class Symfony\Component\PropertyInfo\Type (6) {
173- private $builtinType => string(6) "string"
174- private $nullable => bool(false)
175- private $class => NULL
176- private $collection => bool(false)
177- private $collectionKeyType => NULL
178- private $collectionValueType => NULL
167+ Example Result
168+ --------------
169+ array(1) {
170+ [0] =>
171+ class Symfony\Component\PropertyInfo\Type (6) {
172+ private $builtinType => string(6) "string"
173+ private $nullable => bool(false)
174+ private $class => NULL
175+ private $collection => bool(false)
176+ private $collectionKeyType => NULL
177+ private $collectionValueType => NULL
178+ }
179179 }
180- }
181180 */
182181
183182See :ref: `components-property-info-type ` for info about the ``Type `` class.
@@ -193,18 +192,18 @@ strings::
193192
194193 $title = $propertyInfo->getShortDescription($class, $property);
195194 /*
196- Example Result
197- --------------
198- string(41) "This is the first line of the DocComment."
195+ Example Result
196+ --------------
197+ string(41) "This is the first line of the DocComment."
199198 */
200199
201200 $paragraph = $propertyInfo->getLongDescription($class, $property);
202201 /*
203- Example Result
204- --------------
205- string(79):
206- These is the subsequent paragraph in the DocComment.
207- It can span multiple lines.
202+ Example Result
203+ --------------
204+ string(79):
205+ These is the subsequent paragraph in the DocComment.
206+ It can span multiple lines.
208207 */
209208
210209.. _property-info-access :
0 commit comments