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

Breadcrumb

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

function All::getCompositeOption

Overrides Composite::getCompositeOption

File

vendor/symfony/validator/Constraints/All.php, line 46

Class

All
When applied to an array (or Traversable object), this constraint allows you to apply a collection of constraints to each element of the array.

Namespace

Symfony\Component\Validator\Constraints

Code

protected function getCompositeOption() : string {
    return 'constraints';
}

API Navigation

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