public function MemberMetadata::isCascaded in Plug 7
Returns whether objects stored in this member should be validated.
Return value
bool
Deprecated
Deprecated since version 2.5, to be removed in Symfony 3.0. Use {@link getCascadingStrategy()} instead.
1 call to MemberMetadata::isCascaded()
- MemberMetadata::accept in lib/
Symfony/ validator/ Symfony/ Component/ Validator/ Mapping/ MemberMetadata.php
File
- lib/
Symfony/ validator/ Symfony/ Component/ Validator/ Mapping/ MemberMetadata.php, line 191
Class
- MemberMetadata
- Stores all metadata needed for validating a class property.
Namespace
Symfony\Component\Validator\MappingCode
public function isCascaded() {
return (bool) ($this->cascadingStrategy & CascadingStrategy::CASCADE);
}