public static function isTextType($mappingType)
    {
        return in_array($mappingType, [
            self::CHAR,
            self::VARCHAR,
            self::LONGVARCHAR,
            self::CLOB,
            self::DATE,
            self::TIME,
            self::TIMESTAMP,
            self::BU_DATE,
            self::BU_TIMESTAMP,
            self::JSON,
        ]);
    }
public static function isTextType($mappingType)
    {
        return in_array($mappingType, [
            self::CHAR,
            self::VARCHAR,
            self::LONGVARCHAR,
            self::CLOB,
            self::DATE,
            self::TIME,
            self::TIMESTAMP,
            self::BU_DATE,
            self::BU_TIMESTAMP,
            self::JSON,
        ]);
    }
public static function isTextType ( $ mappingType ) { return in_array ( $ mappingType , [ self :: CHAR , self :: VARCHAR , self :: LONGVARCHAR , self :: CLOB , self :: DATE , self :: TIME , self :: TIMESTAMP , self :: BU_DATE , self :: BU_TIMESTAMP , self :: JSON , ] ) ; }
Returns whether or not the given type is a text type.

@param  string  $mappingType
@return boolean
Returns whether or not the given type is a text type .