LazyRecord\Schema\DeclareColumn::export PHP Метод

export() публичный Метод

Export column attributes to an array.
public export ( ) : array
Результат array
    public function export()
    {
        $attributes = array_merge(get_object_vars($this), $this->attributes);
        if (isset($attributes['attributeTypes'])) {
            unset($attributes['attributeTypes']);
        }
        // Schema is an object.
        unset($attributes['schema']);
        return array('name' => $this->name, 'attributes' => $attributes);
    }