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

Breadcrumb

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

function DebugCommand::configure

Same name in this branch
  1. 11.1.x vendor/symfony/validator/Command/DebugCommand.php \Symfony\Component\Validator\Command\DebugCommand::configure()

Overrides Command::configure

File

vendor/symfony/serializer/Command/DebugCommand.php, line 38

Class

DebugCommand
A console command to debug Serializer information.

Namespace

Symfony\Component\Serializer\Command

Code

protected function configure() : void {
    $this->addArgument('class', InputArgument::REQUIRED, 'A fully qualified class name')
        ->setHelp("The <info>%command.name% 'App\\Entity\\Dummy'</info> command dumps the serializer groups for the dummy class.");
}
RSS feed
Powered by Drupal