public function makeAssociativeCollection(array $columns)
    {
        $mapped = [];

        foreach ($columns as $column) {
            Arr::set($mapped, $column->getSlug(), $column);
        }

        return $mapped;
    }
public function makeAssociativeCollection(array $columns)
    {
        $mapped = [];

        foreach ($columns as $column) {
            Arr::set($mapped, $column->getSlug(), $column);
        }

        return $mapped;
    }
public function makeAssociativeCollection ( array $ columns ) { $ mapped = [ ] ; foreach ( $ columns as $ column ) { Arr :: set ( $ mapped , $ column -> getSlug ( ) , $ column ) ; } return $ mapped ; }
Map columns.

@param \Assely\Support\Facades\Column[] $columns
@return array
Map columns .