protected function walkMember(MemberMetadata $metadata, $value, $group, $propertyPath) { $this->context->setCurrentProperty($metadata->getPropertyName()); foreach ($metadata->findConstraints($group) as $constraint) { $this->walkConstraint($constraint, $value, $group, $propertyPath); } }
protected function walkMember(MemberMetadata $metadata, $value, $group, $propertyPath, $propagatedGroup = null) { $this->context->setCurrentProperty($metadata->getPropertyName()); foreach ($metadata->findConstraints($group) as $constraint) { $this->walkConstraint($constraint, $value, $group, $propertyPath); } if ($metadata->isCascaded()) { $this->walkReference($value, $propagatedGroup ?: $group, $propertyPath); } }
protected function walkMember(MemberMetadata $metadata, $value, $group, $propertyPath, $propagatedGroup = null) { $currentClass = $metadata->getClassName(); $currentProperty = $metadata->getPropertyName(); foreach ($metadata->findConstraints($group) as $constraint) { $this->walkConstraint($constraint, $value, $group, $propertyPath, $currentClass, $currentProperty); } if ($metadata->isCascaded()) { $this->walkReference($value, $propagatedGroup ?: $group, $propertyPath, $metadata->isCollectionCascaded(), $metadata->isCollectionCascadedDeeply()); } }