ProxyBuilder.php
Same filename in this branch
Same filename in other branches
- 8.9.x core/lib/Drupal/Core/ProxyBuilder/ProxyBuilder.php
- 8.9.x core/lib/Drupal/Component/ProxyBuilder/ProxyBuilder.php
- 10 core/lib/Drupal/Core/ProxyBuilder/ProxyBuilder.php
- 10 core/lib/Drupal/Component/ProxyBuilder/ProxyBuilder.php
- 11.x core/lib/Drupal/Core/ProxyBuilder/ProxyBuilder.php
- 11.x core/lib/Drupal/Component/ProxyBuilder/ProxyBuilder.php
Namespace
Drupal\Core\ProxyBuilderFile
-
core/
lib/ Drupal/ Core/ ProxyBuilder/ ProxyBuilder.php
View source
<?php
namespace Drupal\Core\ProxyBuilder;
use Drupal\Component\ProxyBuilder\ProxyBuilder as BaseProxyBuilder;
/**
* Extend the component proxy builder by using the DependencySerializationTrait.
*/
class ProxyBuilder extends BaseProxyBuilder {
/**
* {@inheritdoc}
*/
protected function buildUseStatements() {
$output = parent::buildUseStatements();
$output .= 'use \\Drupal\\Core\\DependencyInjection\\DependencySerializationTrait;' . "\n\n";
return $output;
}
}
Classes
Title | Deprecated | Summary |
---|---|---|
ProxyBuilder | Extend the component proxy builder by using the DependencySerializationTrait. |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.