public function setAll($config): void
    {
        foreach ($config as $id => $definition) {
            $this->set($id, $definition);
        }
    }
public function setAll($config): void
    {
        foreach ($config as $id => $definition) {
            $this->set($id, $definition);
        }
    }
public function setAll ( $ config ) : void { foreach ( $ config as $ id => $ definition ) { $ this -> set ( $ id , $ definition ) ; } }
Sets multiple definitions at once.
@param array $config definitions indexed by their ids
Sets multiple definitions at once .