protected function ProxyBuilder::buildUseStatements in Zircon Profile 8
Same name in this branch
- 8 core/lib/Drupal/Core/ProxyBuilder/ProxyBuilder.php \Drupal\Core\ProxyBuilder\ProxyBuilder::buildUseStatements()
- 8 core/lib/Drupal/Component/ProxyBuilder/ProxyBuilder.php \Drupal\Component\ProxyBuilder\ProxyBuilder::buildUseStatements()
Same name and namespace in other branches
- 8.0 core/lib/Drupal/Core/ProxyBuilder/ProxyBuilder.php \Drupal\Core\ProxyBuilder\ProxyBuilder::buildUseStatements()
{@inheritdoc{
Overrides ProxyBuilder::buildUseStatements
File
- core/
lib/ Drupal/ Core/ ProxyBuilder/ ProxyBuilder.php, line 20 - Contains \Drupal\Core\ProxyBuilder\ProxyBuilder.
Class
- ProxyBuilder
- Extend the component proxy builder by using the DependencySerialziationTrait.
Namespace
Drupal\Core\ProxyBuilderCode
protected function buildUseStatements() {
$output = parent::buildUseStatements();
$output .= 'use \\Drupal\\Core\\DependencyInjection\\DependencySerializationTrait;' . "\n\n";
return $output;
}