Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. GenerateProxyClassApplication.php

function 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 60

Class

GenerateProxyClassApplication
Provides a console command to generate proxy classes.

Namespace

Drupal\Core\Command

Code

public function getDefinition() : InputDefinition {
    $definition = parent::getDefinition();
    // Clears the normal first argument (the command name).
    $definition->setArguments();
    return $definition;
}
RSS feed
Powered by Drupal