You are here

public function GenerateProxyClassCommand::__construct in Zircon Profile 8

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

Overrides Command::__construct

File

core/lib/Drupal/Core/Command/GenerateProxyClassCommand.php, line 34
Contains \Drupal\Core\Command\GenerateProxyClassCommand.

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;
}