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

Breadcrumb

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

function Composite::getCompositeOption

Returns the name of the property that contains the nested constraints.

1 call to Composite::getCompositeOption()
Composite::__construct in vendor/symfony/validator/Constraints/Composite.php
The groups of the composite and its nested constraints are made consistent using the following strategy:
7 methods override Composite::getCompositeOption()
All::getCompositeOption in vendor/symfony/validator/Constraints/All.php
Returns the name of the property that contains the nested constraints.
AtLeastOneOf::getCompositeOption in vendor/symfony/validator/Constraints/AtLeastOneOf.php
Returns the name of the property that contains the nested constraints.
Collection::getCompositeOption in vendor/symfony/validator/Constraints/Collection.php
Returns the name of the property that contains the nested constraints.
Compound::getCompositeOption in vendor/symfony/validator/Constraints/Compound.php
Returns the name of the property that contains the nested constraints.
Existence::getCompositeOption in vendor/symfony/validator/Constraints/Existence.php
Returns the name of the property that contains the nested constraints.

... See full list

File

vendor/symfony/validator/Constraints/Composite.php, line 129

Class

Composite
A constraint that is composed of other constraints.

Namespace

Symfony\Component\Validator\Constraints

Code

protected abstract function getCompositeOption() : string;

API Navigation

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