/** * Adds all from the given type-container into this one (does not make clones of the objects!) * * @param PC_Engine_TypeContainer $typecon the container */ public function add($typecon) { $this->add_functions($typecon->get_functions()); $this->add_classes($typecon->get_classes()); $this->add_constants($typecon->get_constants()); }