Dumplie\Metadata\Schema\Type::float PHP Method

float() public static method

public static float ( ) : Type
return Type
    public static function float() : Type
    {
        return new static(static::TYPE_FLOAT);
    }

Usage Example

示例#1
0
 /**
  * @param Type $type
  *
  * @return bool
  */
 public function maps(Type $type) : bool
 {
     return Type::float()->isEqual($type);
 }
All Usage Examples Of Dumplie\Metadata\Schema\Type::float