You are here

public function GenericMetadata::getTraversalStrategy in Plug 7

Returns the strategy for traversing traversable objects.

Return value

int The traversal strategy

Overrides MetadataInterface::getTraversalStrategy

See also

TraversalStrategy

File

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

Class

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

Namespace

Symfony\Component\Validator\Mapping

Code

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