src/Zicht/Tool/Container/ContainerCompiler.php
public function compileContainerCode()
    {
        $builder = new ContainerBuilder($this->configTree);
        foreach ($this->plugins as $name => $plugin) {
            $plugin->setContainerBuilder($builder);
        }
        $containerNode = $builder->build();
        $buffer = new Buffer();
        $buffer->write('<?php')->eol();
        $containerNode->compile($buffer);
        $buffer->writeln('return $z;');
        $code = $buffer->getResult();
        return $code;
    }
public function compileContainerCode()
    {
        $builder = new ContainerBuilder($this->configTree);
        foreach ($this->plugins as $name => $plugin) {
            $plugin->setContainerBuilder($builder);
        }
        $containerNode = $builder->build();
        $buffer = new Buffer();
        $buffer->write('<?php')->eol();
        $containerNode->compile($buffer);
        $buffer->writeln('return $z;');
        $code = $buffer->getResult();
        return $code;
    }
public function compileContainerCode ( ) { $ builder = new ContainerBuilder ( $ this -> configTree ) ; foreach ( $ this -> plugins as $ name => $ plugin ) { $ plugin -> setContainerBuilder ( $ builder ) ; } $ containerNode = $ builder -> build ( ) ; $ buffer = new Buffer ( ) ; $ buffer -> write ( '<?php' ) -> eol ( ) ; $ containerNode -> compile ( $ buffer ) ; $ buffer -> writeln ( 'return $z;' ) ; $ code = $ buffer -> getResult ( ) ; return $ code ; }
Returns the code for initializing the container.

@return string
Returns the code for initializing the container .