You are here

public function GenerateProxyClassApplication::getDefinition in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/lib/Drupal/Core/Command/GenerateProxyClassApplication.php \Drupal\Core\Command\GenerateProxyClassApplication::getDefinition()

Overridden so the application doesn't expect the command name as the first argument.

Overrides Application::getDefinition

File

core/lib/Drupal/Core/Command/GenerateProxyClassApplication.php, line 61
Contains \Drupal\Core\Command\GenerateProxyClassApplication.

Class

GenerateProxyClassApplication
Provides a console command to generate proxy classes.

Namespace

Drupal\Core\Command

Code

public function getDefinition() {
  $definition = parent::getDefinition();

  // Clears the normal first argument (the command name).
  $definition
    ->setArguments();
  return $definition;
}