protected function dumpClass($namespace, $shortClassName, array $serviceDefinitions)
    {
        $joinedServiceDefinitions = implode("\n", $serviceDefinitions);

        $namespaceSource = $namespace !== '' ? "namespace $namespace;\n\n" : '';
        $classSource = <<<EOL
class $shortClassName implements \Pimple\ServiceProviderInterface
{
    public function register(\Pimple\Container \$c)
    {
$joinedServiceDefinitions
    }
}
EOL;

        return $namespaceSource . $classSource;
    }
protected function dumpClass($namespace, $shortClassName, array $serviceDefinitions)
    {
        $joinedServiceDefinitions = implode("\n", $serviceDefinitions);

        $namespaceSource = $namespace !== '' ? "namespace $namespace;\n\n" : '';
        $classSource = <<<EOL
class $shortClassName implements \Pimple\ServiceProviderInterface
{
    public function register(\Pimple\Container \$c)
    {
$joinedServiceDefinitions
    }
}
EOL;

        return $namespaceSource . $classSource;
    }
protected function dumpClass ( $ namespace , $ shortClassName , array $ serviceDefinitions ) { $ joinedServiceDefinitions = implode ( "\n" , $ serviceDefinitions ) ; $ namespaceSource = $ namespace !== '' ? "namespace $namespace;\n\n" : '' ; $ classSource =  <<<EOL
class $shortClassName implements \Pimple\ServiceProviderInterface
{
    public function register(\Pimple\Container \$c)
    {
$joinedServiceDefinitions
    }
}
EOL ; return $ namespaceSource . $ classSource ; }
Dumps the class definition code.

@param string $namespace
@param string $shortClassName
@param array $serviceDefinitions
@return string
Dumps the class definition code .