You are here

public function MemberMetadata::isCollectionCascadedDeeply in Plug 7

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

Return value

bool

Deprecated

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

1 call to MemberMetadata::isCollectionCascadedDeeply()
MemberMetadata::accept in lib/Symfony/validator/Symfony/Component/Validator/Mapping/MemberMetadata.php

File

lib/Symfony/validator/Symfony/Component/Validator/Mapping/MemberMetadata.php, line 219

Class

MemberMetadata
Stores all metadata needed for validating a class property.

Namespace

Symfony\Component\Validator\Mapping

Code

public function isCollectionCascadedDeeply() {
  return !($this->traversalStrategy & TraversalStrategy::STOP_RECURSION);
}