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

dateTime() public static method

public static dateTime ( ) : Type
return Type
    public static function dateTime() : Type
    {
        return new static(static::TYPE_DATETIME);
    }

Usage Example

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