public function newType($id)
{
if ($serviceId = @$this->types[strtolower($id)]) {
return $this->container->get($serviceId);
}
throw new TypeNotFoundException(sprintf('FieldType `%s` not found. You should create a service that implements ' . 'Jarves\\Admin\\FieldTypes\\TypeInterface and add a <field-type> configuration', $id));
}