You are here

public function GenericMetadata::getTraversalStrategy in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/validator/Mapping/GenericMetadata.php \Symfony\Component\Validator\Mapping\GenericMetadata::getTraversalStrategy()

Returns the strategy for traversing traversable objects.

Return value

int The traversal strategy

Overrides MetadataInterface::getTraversalStrategy

See also

TraversalStrategy

File

vendor/symfony/validator/Mapping/GenericMetadata.php, line 224

Class

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

Namespace

Symfony\Component\Validator\Mapping

Code

public function getTraversalStrategy() {
  return $this->traversalStrategy;
}