Nwidart\Modules\Support\Migrations\SchemaParser::getAttributes PHP Method

getAttributes() public method

Get column attributes.
public getAttributes ( string $column, string $schema ) : array
$column string
$schema string
return array
    public function getAttributes($column, $schema)
    {
        $fields = str_replace($column . ':', '', $schema);
        return $this->hasCustomAttribute($column) ? $this->getCustomAttribute($column) : explode(':', $fields);
    }