Code Coverage |
||||||||||
Classes and Traits |
Functions and Methods |
Lines |
||||||||
Total | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
CRAP | |
0.00% |
0 / 3 |
ProxyBuilder | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |
0.00% |
0 / 3 |
buildUseStatements | |
0.00% |
0 / 1 |
2 | |
0.00% |
0 / 3 |
<?php | |
/** | |
* @file | |
* Contains \Drupal\Core\ProxyBuilder\ProxyBuilder. | |
*/ | |
namespace Drupal\Core\ProxyBuilder; | |
use Drupal\Component\ProxyBuilder\ProxyBuilder as BaseProxyBuilder; | |
/** | |
* Extend the component proxy builder by using the DependencySerialziationTrait. | |
*/ | |
class ProxyBuilder extends BaseProxyBuilder { | |
/** | |
* {@inheritdoc{ | |
*/ | |
protected function buildUseStatements() { | |
$output = parent::buildUseStatements(); | |
$output .= 'use \Drupal\Core\DependencyInjection\DependencySerializationTrait;' . "\n\n"; | |
return $output; | |
} | |
} |