/**
* @param null $arg
* @return \JBZoo\SimpleTypes\Type\Type
*/
public function val($arg = null)
{
$configName = '\\JBZoo\\SimpleTypes\\Config\\' . ucfirst($this->_type);
$className = '\\JBZoo\\SimpleTypes\\Type\\' . $this->_type;
Config::registerDefault($this->_type, new $configName());
return new $className($arg);
}