/** * Create a new IDataType instance based on the value of $val * @param mixed $val Value * @return IDataType instance * @static */ public static function create($val) { $i = new EDataType(); $i->setValue($i->detectType($val)); return $i; }