dateTime() public static method

public static dateTime ( ) : Type
return Type
コード例 #1
0
ファイル: DateTimeMapping.php プロジェクト: dumplie/dumplie
 /**
  * @param Type $type
  * @return bool
  */
 public function maps(Type $type) : bool
 {
     return Type::dateTime()->isEqual($type);
 }
コード例 #2
0
ファイル: DateTimeField.php プロジェクト: dumplie/dumplie
 /**
  * @return Type
  */
 public function type() : Type
 {
     return Type::dateTime();
 }