protected function getData()
    {
        if ( ! $this->fileOptions) {
            return $this->request->all();
        }

        $excepts = collect($this->fileOptions)->keyBy(function ($item) {
            $columns = explode('.', $item['column']);
            return count($columns) === 1 ? $columns[0] : $columns[1];
        })->keys()->all();
        return $this->request->except($excepts);
    }
protected function getData()
    {
        if ( ! $this->fileOptions) {
            return $this->request->all();
        }

        $excepts = collect($this->fileOptions)->keyBy(function ($item) {
            $columns = explode('.', $item['column']);
            return count($columns) === 1 ? $columns[0] : $columns[1];
        })->keys()->all();
        return $this->request->except($excepts);
    }
protected function getData ( ) { if ( ! $ this -> fileOptions ) { return $ this -> request -> all ( ) ; } $ excepts = collect ( $ this -> fileOptions ) -> keyBy ( function ( $ item ) { $ columns = explode ( '.' , $ item [ 'column' ] ) ; return count ( $ columns ) === 1 ? $ columns [ 0 ] : $ columns [ 1 ] ; } ) -> keys ( ) -> all ( ) ; return $ this -> request -> except ( $ excepts ) ; }
get data, if image column passed, except it
get data if image column passed except it