public function MemberMetadata::isCollectionCascaded in Plug 7
Returns whether arrays or traversable objects stored in this member should be traversed and validated in each entry.
Return value
bool
Deprecated
Deprecated since version 2.5, to be removed in Symfony 3.0. Use {@link getTraversalStrategy()} instead.
1 call to MemberMetadata::isCollectionCascaded()
- MemberMetadata::accept in lib/
Symfony/ validator/ Symfony/ Component/ Validator/ Mapping/ MemberMetadata.php
File
- lib/
Symfony/ validator/ Symfony/ Component/ Validator/ Mapping/ MemberMetadata.php, line 205
Class
- MemberMetadata
- Stores all metadata needed for validating a class property.
Namespace
Symfony\Component\Validator\MappingCode
public function isCollectionCascaded() {
return (bool) ($this->traversalStrategy & (TraversalStrategy::IMPLICIT | TraversalStrategy::TRAVERSE));
}