You are here

protected function ComposerScaffoldCommand::execute in Drupal 8

Same name and namespace in other branches
  1. 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) {
  $handler = new Handler($this
    ->getComposer(), $this
    ->getIO());
  $handler
    ->scaffold();
  return 0;
}