public function fillRinvexFields($natural)
    {
        $mergeable = [
            'calling_code' => 'dialling',
//            'borders'      => 'geo',
            'area'         => 'geo',
            'continent'    => 'geo',
            'landlocked'   => 'geo',
            'region'       => 'geo',
            'region_un'    => 'geo',
            'region_wb'    => 'geo',
            'subregion'    => 'geo',
            'latlng'       => 'geo',
        ];

        coollect($mergeable)->each(function ($to, $key) use (&$natural) {
            if (isset($natural[$key])) {
                $natural->overwrite([$to => [$key => $natural[$key]]]);

                unset($natural[$key]);
            }
        });

        return $natural;
    }
public function fillRinvexFields($natural)
    {
        $mergeable = [
            'calling_code' => 'dialling',
//            'borders'      => 'geo',
            'area'         => 'geo',
            'continent'    => 'geo',
            'landlocked'   => 'geo',
            'region'       => 'geo',
            'region_un'    => 'geo',
            'region_wb'    => 'geo',
            'subregion'    => 'geo',
            'latlng'       => 'geo',
        ];

        coollect($mergeable)->each(function ($to, $key) use (&$natural) {
            if (isset($natural[$key])) {
                $natural->overwrite([$to => [$key => $natural[$key]]]);

                unset($natural[$key]);
            }
        });

        return $natural;
    }
public function fillRinvexFields ( $ natural ) { $ mergeable = [ 'calling_code' => 'dialling' , //            'borders'      => 'geo', 'area' => 'geo' , 'continent' => 'geo' , 'landlocked' => 'geo' , 'region' => 'geo' , 'region_un' => 'geo' , 'region_wb' => 'geo' , 'subregion' => 'geo' , 'latlng' => 'geo' , ] ; coollect ( $ mergeable ) -> each ( function ( $ to , $ key ) use ( & $ natural ) { if ( isset ( $ natural [ $ key ] ) ) { $ natural -> overwrite ( [ $ to => [ $ key => $ natural [ $ key ] ] ] ) ; unset ( $ natural [ $ key ] ) ; } } ) ; return $ natural ; }
Fill array with Rinvex usable data.

@param \PragmaRX\Coollection\Package\Coollection $natural
@return \PragmaRX\Coollection\Package\Coollection
Fill array with Rinvex usable data .