protected function getEnumOptions($tableColumn)
    {
        $type = $tableColumn['type'];

        if (starts_with($type, 'enum(') && ends_with($type, ')')) {
            return explode("','", trim(substr($type, strlen('enum('), -1), "'"));
        }

        return [];
    }
protected function getEnumOptions($tableColumn)
    {
        $type = $tableColumn['type'];

        if (starts_with($type, 'enum(') && ends_with($type, ')')) {
            return explode("','", trim(substr($type, strlen('enum('), -1), "'"));
        }

        return [];
    }
protected function getEnumOptions ( $ tableColumn ) { $ type = $ tableColumn [ 'type' ] ; if ( starts_with ( $ type , 'enum(' ) && ends_with ( $ type , ')' ) ) { return explode ( "','" , trim ( substr ( $ type , strlen ( 'enum(' ) , - 1 ) , "'" ) ) ; } return [ ] ; }
Get enum options from the column.

@param $tableColumn

@return array
Get enum options from the column .