integer() public static method

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