private function dumpValidatorsForClass(InputInterface
$input, OutputInterface
$output, string
$class): void
{ $io =
new SymfonyStyle($input,
$output);
$title =
sprintf('<info>%s</info>',
$class);
$rows =
[];
$dump =
new Dumper($output);
/** @var ClassMetadataInterface $classMetadata */
$classMetadata =
$this->validator->
getMetadataFor($class);
foreach ($this->
getClassConstraintsData($classMetadata) as $data) { $rows[] =
[ '-',
$data['class'
],
implode(', ',
$data['groups'
]),
$dump($data['options'
]),
];
} foreach ($this->
getConstrainedPropertiesData($classMetadata) as $propertyName =>
$constraintsData) { foreach ($constraintsData as $data) { $rows[] =
[