예제 #1
0
 /**
  * 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;
 }