a718a958e22e7d7441c1b2feadbec44ff37b6a0e
[yaffs-website] / 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 }