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

Breadcrumb

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

function DebugCommand::getConstrainedPropertiesData

1 call to DebugCommand::getConstrainedPropertiesData()
DebugCommand::dumpValidatorsForClass in vendor/symfony/validator/Command/DebugCommand.php

File

vendor/symfony/validator/Command/DebugCommand.php, line 146

Class

DebugCommand
A console command to debug Validators information.

Namespace

Symfony\Component\Validator\Command

Code

private function getConstrainedPropertiesData(ClassMetadataInterface $classMetadata) : array {
    $data = [];
    foreach ($classMetadata->getConstrainedProperties() as $constrainedProperty) {
        $data[$constrainedProperty] = $this->getPropertyData($classMetadata, $constrainedProperty);
    }
    return $data;
}
RSS feed
Powered by Drupal