src/Schema/AbstractColumn.php
public function enum($values): AbstractColumn
    {
        $this->type('enum');
        $this->enumValues = array_map('strval', is_array($values) ? $values : func_get_args());

        return $this;
    }
public function enum($values): AbstractColumn
    {
        $this->type('enum');
        $this->enumValues = array_map('strval', is_array($values) ? $values : func_get_args());

        return $this;
    }
public function enum ( $ values ) : AbstractColumn { $ this -> type ( 'enum' ) ; $ this -> enumValues = array_map ( 'strval' , is_array ( $ values ) ? $ values : func_get_args ( ) ) ; return $ this ; }
Set column as enum type and specify set of allowed values. Most of drivers will emulate enums
using column constraints.

Examples:
$table->status->enum(['active', 'disabled']);
$table->status->enum('active', 'disabled');

@param string|array $values Enum values (array or comma separated). String values only.
@return self
Set column as enum type and specify set of allowed values . Most of drivers will emulate enums using column constraints .