ClassMetadata::$traversalStrategy
The strategy for traversing traversable objects.
By default, only instances of {@link \Traversable} are traversed.
@internal This property is public in order to reduce the size of the class' serialized representation. Do not access it. Use {@link getTraversalStrategy()} instead.
Type: TraversalStrategy::*
Overrides GenericMetadata::$traversalStrategy
File
-
vendor/
symfony/ validator/ Mapping/ ClassMetadata.php, line 107
Class
- ClassMetadata
- Default implementation of {@link ClassMetadataInterface}.
Namespace
Symfony\Component\Validator\MappingCode
public int $traversalStrategy = TraversalStrategy::IMPLICIT;