protected function setElfinderToOptions($column)
    {
        $this->fileOptions = collect($this->fileOptions)->map(function($item, $key) use($column)
        {
            if (
                (is_array($column) && $key === $column['index'] && $item['column'] === $column['column'])
                || $item['column'] === $column
            ) {
                $item['isElfinder'] = true;
            }
            return $item;
        })->all();
    }
protected function setElfinderToOptions($column)
    {
        $this->fileOptions = collect($this->fileOptions)->map(function($item, $key) use($column)
        {
            if (
                (is_array($column) && $key === $column['index'] && $item['column'] === $column['column'])
                || $item['column'] === $column
            ) {
                $item['isElfinder'] = true;
            }
            return $item;
        })->all();
    }
protected function setElfinderToOptions ( $ column ) { $ this -> fileOptions = collect ( $ this -> fileOptions ) -> map ( function ( $ item , $ key ) use ( $ column ) { if ( ( is_array ( $ column ) && $ key === $ column [ 'index' ] && $ item [ 'column' ] === $ column [ 'column' ] ) || $ item [ 'column' ] === $ column ) { $ item [ 'isElfinder' ] = true ; } return $ item ; } ) -> all ( ) ; }
set to file options is file from elfinder

@param string|array $column
set to file options is file from elfinder