Dumplie\Metadata\Schema\Type::dateTime PHP 메소드

dateTime() 공개 정적인 메소드

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

Usage 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