protected function GenerateProxyClassApplication::getDefaultCommands in Drupal 9
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Command/GenerateProxyClassApplication.php \Drupal\Core\Command\GenerateProxyClassApplication::getDefaultCommands()
File
- core/
lib/ Drupal/ Core/ Command/ GenerateProxyClassApplication.php, line 43
Class
- GenerateProxyClassApplication
- Provides a console command to generate proxy classes.
Namespace
Drupal\Core\CommandCode
protected function getDefaultCommands() {
// Even though this is a single command, keep the HelpCommand (--help).
$default_commands = parent::getDefaultCommands();
$default_commands[] = new GenerateProxyClassCommand($this->proxyBuilder);
return $default_commands;
}