function GenerateProxyClassCommand::__construct

Same name in other branches
  1. 9 core/lib/Drupal/Core/Command/GenerateProxyClassCommand.php \Drupal\Core\Command\GenerateProxyClassCommand::__construct()
  2. 10 core/lib/Drupal/Core/Command/GenerateProxyClassCommand.php \Drupal\Core\Command\GenerateProxyClassCommand::__construct()
  3. 11.x core/lib/Drupal/Core/Command/GenerateProxyClassCommand.php \Drupal\Core\Command\GenerateProxyClassCommand::__construct()

Constructs a new GenerateProxyClassCommand instance.

Parameters

\Drupal\Component\ProxyBuilder\ProxyBuilder $proxy_builder: The proxy builder.

File

core/lib/Drupal/Core/Command/GenerateProxyClassCommand.php, line 29

Class

GenerateProxyClassCommand
Provides a console command to generate proxy classes.

Namespace

Drupal\Core\Command

Code

public function __construct(ProxyBuilder $proxy_builder) {
    parent::__construct();
    $this->proxyBuilder = $proxy_builder;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.