You are here

protected function ComposerScaffoldCommand::execute in Drupal 10

Same name and namespace in other branches
  1. 8 composer/Plugin/Scaffold/ComposerScaffoldCommand.php \Drupal\Composer\Plugin\Scaffold\ComposerScaffoldCommand::execute()
  2. 9 composer/Plugin/Scaffold/ComposerScaffoldCommand.php \Drupal\Composer\Plugin\Scaffold\ComposerScaffoldCommand::execute()

File

composer/Plugin/Scaffold/ComposerScaffoldCommand.php, line 50

Class

ComposerScaffoldCommand
The "drupal:scaffold" command class.

Namespace

Drupal\Composer\Plugin\Scaffold

Code

protected function execute(InputInterface $input, OutputInterface $output) : int {
  $handler = new Handler($this
    ->getComposer(), $this
    ->getIO());
  $handler
    ->scaffold();
  return 0;
}