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

Breadcrumb

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

function Composite::getNestedConstraints

@internal Used by metadata

Return value

Constraint[]

File

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

Class

Composite
A constraint that is composed of other constraints.

Namespace

Symfony\Component\Validator\Constraints

Code

public function getNestedConstraints() : array {
    
    /* @var Constraint[] $nestedConstraints */
    return $this->{$this->getCompositeOption()};
}

API Navigation

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