public function registerArray(array $schemas) { foreach ($schemas as $type => $schema) { $this->register($type, $schema); } }