lib/EditableContainer.php
public function defineAll(array $typemap)
    {
        foreach ($typemap as $id => $type) {
            $this->define($id, $type);
        }
    }
public function defineAll(array $typemap)
    {
        foreach ($typemap as $id => $type) {
            $this->define($id, $type);
        }
    }
public function defineAll ( array $ typemap ) { foreach ( $ typemap as $ id => $ type ) { $ this -> define ( $ id , $ type ) ; } }
Defines multiple items in the typemap.

@param array $typemap The typemap

@throws InvalidArgumentException if an ID name is invalid.
Defines multiple items in the typemap .