public function addDefinitions(array $definitions)
    {
        foreach ($definitions as $id => $definition) {
            $this->setDefinition($id, $definition);
        }
    }
public function addDefinitions(array $definitions)
    {
        foreach ($definitions as $id => $definition) {
            $this->setDefinition($id, $definition);
        }
    }
public function addDefinitions ( array $ definitions ) { foreach ( $ definitions as $ id => $ definition ) { $ this -> setDefinition ( $ id , $ definition ) ; } }
Adds the service definitions.

@param Definition[] $definitions An array of service definitions
Adds the service definitions .