You are here

public function MemberMetadata::isCollectionCascadedDeeply in Zircon Profile 8

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

Returns whether arrays or traversable objects stored in this member should be traversed recursively for inner arrays/traversable objects.

Return value

bool

Deprecated

since version 2.5, to be removed in 3.0. Use {@link getTraversalStrategy()} instead.

1 call to MemberMetadata::isCollectionCascadedDeeply()
MemberMetadata::accept in vendor/symfony/validator/Mapping/MemberMetadata.php

File

vendor/symfony/validator/Mapping/MemberMetadata.php, line 225

Class

MemberMetadata
Stores all metadata needed for validating a class property.

Namespace

Symfony\Component\Validator\Mapping

Code

public function isCollectionCascadedDeeply() {
  @trigger_error('The ' . __METHOD__ . ' method is deprecated since version 2.5 and will be removed in 3.0. Use the getTraversalStrategy() method instead.', E_USER_DEPRECATED);
  return !($this->traversalStrategy & TraversalStrategy::STOP_RECURSION);
}