function DebugCommand::configure
Same name in this branch
- 11.1.x vendor/symfony/serializer/Command/DebugCommand.php \Symfony\Component\Serializer\Command\DebugCommand::configure()
Overrides Command::configure
File
-
vendor/
symfony/ validator/ Command/ DebugCommand.php, line 47
Class
- DebugCommand
- A console command to debug Validators information.
Namespace
Symfony\Component\Validator\CommandCode
protected function configure() : void {
$this->addArgument('class', InputArgument::REQUIRED, 'A fully qualified class name or a path')
->addOption('show-all', null, InputOption::VALUE_NONE, 'Show all classes even if they have no validation constraints')
->setHelp(<<<'EOF'
The <info>%command.name% 'App\Entity\Dummy'</info> command dumps the validators for the dummy class.
The <info>%command.name% src/</info> command dumps the validators for the `src` directory.
EOF
);
}