Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. ClassMetadata.php

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\Mapping

Code

public int $traversalStrategy = TraversalStrategy::IMPLICIT;

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal