You are here

public function GenerateProxyClassCommand::__construct in Drupal 9

Same name and namespace in other branches
  1. 8 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;
}