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

Breadcrumb

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

function TraceableCommand::initialize

Overrides Command::initialize

File

vendor/symfony/console/Command/TraceableCommand.php, line 305

Class

TraceableCommand
@internal

Namespace

Symfony\Component\Console\Command

Code

protected function initialize(InputInterface $input, OutputInterface $output) : void {
    $event = $this->stopwatch
        ->start($this->getName() . '.init', 'command');
    $this->command
        ->initialize($input, $output);
    $event->stop();
}
RSS feed
Powered by Drupal