You are here

public function ClassMetadata::isGroupSequenceProvider in Plug 7

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 lib/Symfony/validator/Symfony/Component/Validator/Mapping/ClassMetadata.php
ClassMetadata::setGroupSequence in lib/Symfony/validator/Symfony/Component/Validator/Mapping/ClassMetadata.php
Sets the default group sequence for this class.

File

lib/Symfony/validator/Symfony/Component/Validator/Mapping/ClassMetadata.php, line 522

Class

ClassMetadata
Default implementation of {@link ClassMetadataInterface}.

Namespace

Symfony\Component\Validator\Mapping

Code

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