public function dump(array $options = array())
    {
        if (!class_exists('zxf\Symfony\Component\Yaml\Dumper')) {
            throw new RuntimeException('Unable to dump the container as the Symfony Yaml Component is not installed.');
        }

        if (null === $this->dumper) {
            $this->dumper = new YmlDumper();
        }

        return $this->container->resolveEnvPlaceholders($this->addParameters()."\n".$this->addServices());
    }
public function dump(array $options = array())
    {
        if (!class_exists('zxf\Symfony\Component\Yaml\Dumper')) {
            throw new RuntimeException('Unable to dump the container as the Symfony Yaml Component is not installed.');
        }

        if (null === $this->dumper) {
            $this->dumper = new YmlDumper();
        }

        return $this->container->resolveEnvPlaceholders($this->addParameters()."\n".$this->addServices());
    }
public function dump ( array $ options = array ( ) ) { if ( ! class_exists ( 'zxf\Symfony\Component\Yaml\Dumper' ) ) { throw new RuntimeException ( 'Unable to dump the container as the Symfony Yaml Component is not installed.' ) ; } if ( null === $ this -> dumper ) { $ this -> dumper = new YmlDumper ( ) ; } return $ this -> container -> resolveEnvPlaceholders ( $ this -> addParameters ( ) . "\n" . $ this -> addServices ( ) ) ; }
Dumps the service container as an YAML string.

@return string A YAML string representing of the service container
Dumps the service container as an YAML string .