src/ContainerBuilder.php
public function importNamespace(ContainerNamespace $namespace)
    {
        // import the parameters
        $this->parameters = array_merge($this->parameters, $namespace->getParameters());

        // import the service definitions
        foreach($namespace->getServices() as $name => $service)
        {
            $this->addService($name, $service);
        }
    }
public function importNamespace(ContainerNamespace $namespace)
    {
        // import the parameters
        $this->parameters = array_merge($this->parameters, $namespace->getParameters());

        // import the service definitions
        foreach($namespace->getServices() as $name => $service)
        {
            $this->addService($name, $service);
        }
    }
Import data from a container namespace

@param ContainerNamespace            $namespace
@return void