protected function dumpServiceDefinition(DependencyObject $object, array $paramExprs)
    {
        $service = $object->getValue();
        $typeName = $service->getType()->getName();
        $className = $service->getClass()->getName();

        $joinedParamExprs = implode(', ', $paramExprs);
        return <<<EOL
        \$c['$typeName'] = function(\$c) { return new \\$className($joinedParamExprs); };
EOL;
    }
protected function dumpServiceDefinition(DependencyObject $object, array $paramExprs)
    {
        $service = $object->getValue();
        $typeName = $service->getType()->getName();
        $className = $service->getClass()->getName();

        $joinedParamExprs = implode(', ', $paramExprs);
        return <<<EOL
        \$c['$typeName'] = function(\$c) { return new \\$className($joinedParamExprs); };
EOL;
    }
protected function dumpServiceDefinition ( DependencyObject $ object , array $ paramExprs ) { $ service = $ object -> getValue ( ) ; $ typeName = $ service -> getType ( ) -> getName ( ) ; $ className = $ service -> getClass ( ) -> getName ( ) ; $ joinedParamExprs = implode ( ', ' , $ paramExprs ) ; return  <<<EOL
        \$c['$typeName'] = function(\$c) { return new \\$className($joinedParamExprs); };
EOL ; }
Dumps the service definition code.

@param Service $service
@param array $paramExprs
@return string
Dumps the service definition code .