Upgraded drupal core with security updates
[yaffs-website] / web / core / lib / Drupal / Core / ProxyBuilder / ProxyBuilder.php
1 <?php
2
3 namespace Drupal\Core\ProxyBuilder;
4
5 use Drupal\Component\ProxyBuilder\ProxyBuilder as BaseProxyBuilder;
6
7 /**
8  * Extend the component proxy builder by using the DependencySerialziationTrait.
9  */
10 class ProxyBuilder extends BaseProxyBuilder {
11
12   /**
13    * {@inheritdoc{
14    */
15   protected function buildUseStatements() {
16     $output = parent::buildUseStatements();
17
18     $output .= 'use \Drupal\Core\DependencyInjection\DependencySerializationTrait;' . "\n\n";
19
20     return $output;
21   }
22
23 }