public function compile(ContainerBuilder $builder, $proxyCachePath = NULL, array $additionalProxies = [])
	{
		try
		{	
			return $this->compileBuilder($builder, $proxyCachePath, $additionalProxies);
		}
		finally
		{
			$this->methods = [];
			$this->namespaceContextCache = [];
		}
	}
public function compile(ContainerBuilder $builder, $proxyCachePath = NULL, array $additionalProxies = [])
	{
		try
		{	
			return $this->compileBuilder($builder, $proxyCachePath, $additionalProxies);
		}
		finally
		{
			$this->methods = [];
			$this->namespaceContextCache = [];
		}
	}
public function compile ( ContainerBuilder $ builder , $ proxyCachePath = NULL , array $ additionalProxies = [ ] ) { try { return $ this -> compileBuilder ( $ builder , $ proxyCachePath , $ additionalProxies ) ; } finally { $ this -> methods = [ ] ; $ this -> namespaceContextCache = [ ] ; } }
Generate PHP code of an optimized DI container from the given builder.

@param ContainerBuilder $builder
@param string $proxyCachePath Cache directory for scoped proxies, NULL deactivates pre-generation of proxies.
@param array<string> $additionalProxies Additional type names that need a scoped proxy.
@return string
Generate PHP code of an optimized DI container from the given builder .