You are here

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

Returns whether objects stored in this member should be validated.

Return value

bool

Deprecated

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

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

File

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

Class

MemberMetadata
Stores all metadata needed for validating a class property.

Namespace

Symfony\Component\Validator\Mapping

Code

public function isCascaded() {
  @trigger_error('The ' . __METHOD__ . ' method is deprecated since version 2.5 and will be removed in 3.0. Use the getCascadingStrategy() method instead.', E_USER_DEPRECATED);
  return (bool) ($this->cascadingStrategy & CascadingStrategy::CASCADE);
}