protected function execute(InputInterface
$input, OutputInterface
$output): int
{ $class =
$input->
getArgument('class'
);
if (!
class_exists($class)) { $io =
new SymfonyStyle($input,
$output);
$io->
error(sprintf('Class "%s" was not found.',
$class));
return Command::FAILURE;
} $this->
dumpSerializerDataForClass($input,
$output,
$class);
return Command::SUCCESS;
} private function dumpSerializerDataForClass(InputInterface
$input, OutputInterface
$output, string
$class): void
{ $io =
new SymfonyStyle($input,
$output);
$title =
sprintf('<info>%s</info>',
$class);
$rows =
[];
$dump =
new Dumper($output);