function ComposerScaffoldCommand::execute
Same name in other branches
- 9 composer/Plugin/Scaffold/ComposerScaffoldCommand.php \Drupal\Composer\Plugin\Scaffold\ComposerScaffoldCommand::execute()
- 8.9.x composer/Plugin/Scaffold/ComposerScaffoldCommand.php \Drupal\Composer\Plugin\Scaffold\ComposerScaffoldCommand::execute()
- 11.x 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\ScaffoldCode
protected function execute(InputInterface $input, OutputInterface $output) : int {
$handler = new Handler($this->requireComposer(), $this->getIO());
$handler->scaffold();
return 0;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.