You are here

public function MemberMetadata::isCollectionCascaded 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::isCollectionCascaded()

Returns whether arrays or traversable objects stored in this member should be traversed and validated in each entry.

Return value

bool

Deprecated

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

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

File

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

Class

MemberMetadata
Stores all metadata needed for validating a class property.

Namespace

Symfony\Component\Validator\Mapping

Code

public function isCollectionCascaded() {
  @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 (bool) ($this->traversalStrategy & (TraversalStrategy::IMPLICIT | TraversalStrategy::TRAVERSE));
}