Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. Sequentially.php

function Sequentially::getTargets

Overrides Constraint::getTargets

File

vendor/symfony/validator/Constraints/Sequentially.php, line 51

Class

Sequentially
Use this constraint to sequentially validate nested constraints. Validation for the nested constraints collection will stop at first violation.

Namespace

Symfony\Component\Validator\Constraints

Code

public function getTargets() : string|array {
    return [
        self::CLASS_CONSTRAINT,
        self::PROPERTY_CONSTRAINT,
    ];
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal