You are here

public function ClassMetadata::isGroupSequenceProvider in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/validator/Mapping/ClassMetadata.php \Symfony\Component\Validator\Mapping\ClassMetadata::isGroupSequenceProvider()

Returns whether the "Default" group is overridden by a dynamic group sequence obtained by the validated objects.

If this method returns true, the class must implement {@link \Symfony\Component\Validator\GroupSequenceProviderInterface}. This interface will be used to obtain the group sequence when an object of this class is validated.

Return value

bool Returns true if the "Default" group is overridden by a dynamic group sequence

Overrides ClassMetadataInterface::isGroupSequenceProvider

See also

\Symfony\Component\Validator\GroupSequenceProviderInterface

2 calls to ClassMetadata::isGroupSequenceProvider()
ClassMetadata::accept in vendor/symfony/validator/Mapping/ClassMetadata.php
ClassMetadata::setGroupSequence in vendor/symfony/validator/Mapping/ClassMetadata.php
Sets the default group sequence for this class.

File

vendor/symfony/validator/Mapping/ClassMetadata.php, line 530

Class

ClassMetadata
Default implementation of {@link ClassMetadataInterface}.

Namespace

Symfony\Component\Validator\Mapping

Code

public function isGroupSequenceProvider() {
  return $this->groupSequenceProvider;
}