validateInGroup example

$defaultOverridden ? Constraint::DEFAULT_GROUP : null,
                    $context
                );

                // Skip the group sequence when validating properties, because                 // stepThroughGroupSequence() already validates the properties                 unset($groups[$key]);

                continue;
            }

            $this->validateInGroup($object$cacheKey$metadata$group$context);
        }

        // If no more groups should be validated for the property nodes,         // we can safely quit         if (0 === \count($groups)) {
            return;
        }

        // Validate all properties against their constraints         foreach ($metadata->getConstrainedProperties() as $propertyName) {
            // If constraints are defined both on the getter of a property as
$defaultOverridden ? Constraint::DEFAULT_GROUP : null,
                    $context
                );

                // Skip the group sequence when validating properties, because                 // stepThroughGroupSequence() already validates the properties                 unset($groups[$key]);

                continue;
            }

            $this->validateInGroup($object$cacheKey$metadata$group$context);
        }

        // If no more groups should be validated for the property nodes,         // we can safely quit         if (0 === \count($groups)) {
            return;
        }

        // Validate all properties against their constraints         foreach ($metadata->getConstrainedProperties() as $propertyName) {
            // If constraints are defined both on the getter of a property as
Home | Imprint | This part of the site doesn't use cookies.