You are here

public property GenericMetadata::$traversalStrategy in Plug 7

The strategy for traversing traversable objects.

By default, traversable objects are not 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

See also

TraversalStrategy

File

lib/Symfony/validator/Symfony/Component/Validator/Mapping/GenericMetadata.php, line 77

Class

GenericMetadata
A generic container of {@link Constraint} objects.

Namespace

Symfony\Component\Validator\Mapping

Code

public $traversalStrategy = TraversalStrategy::NONE;