Generates code for the proxies to be attached after the container class
string
private function addProxyClasses() {
/* @var $proxyDefinitions Definition[] */
$definitions = array_filter($this->container
->getDefinitions(), array(
$this
->getProxyDumper(),
'isProxyCandidate',
));
$code = '';
foreach ($definitions as $definition) {
$code .= "\n" . $this
->getProxyDumper()
->getProxyCode($definition);
}
return $code;
}