You are here

public property ClassMetadata::$traversalStrategy in Plug 7

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: int

Overrides GenericMetadata::$traversalStrategy

File

lib/Symfony/validator/Symfony/Component/Validator/Mapping/ClassMetadata.php, line 106

Class

ClassMetadata
Default implementation of {@link ClassMetadataInterface}.

Namespace

Symfony\Component\Validator\Mapping

Code

public $traversalStrategy = TraversalStrategy::IMPLICIT;