ProxyBuilder.php in Drupal 10
File
core/lib/Drupal/Core/ProxyBuilder/ProxyBuilder.php
View source
<?php
namespace Drupal\Core\ProxyBuilder;
use Drupal\Component\ProxyBuilder\ProxyBuilder as BaseProxyBuilder;
class ProxyBuilder extends BaseProxyBuilder {
protected function buildUseStatements() {
$output = parent::buildUseStatements();
$output .= 'use \\Drupal\\Core\\DependencyInjection\\DependencySerializationTrait;' . "\n\n";
return $output;
}
}
Classes
Name |
Description |
ProxyBuilder |
Extend the component proxy builder by using the DependencySerializationTrait. |