function GenerateProxyClassApplication::__construct

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

Constructs a new GenerateProxyClassApplication instance.

Parameters

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

File

core/lib/Drupal/Core/Command/GenerateProxyClassApplication.php, line 31

Class

GenerateProxyClassApplication
Provides a console command to generate proxy classes.

Namespace

Drupal\Core\Command

Code

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

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