public function getRepeaterMapping(array $config)
    {
        $mapping = ['data' => null];
        $mapping['data'] = $this->setRepeaters(null, null, $config);

        return $mapping;
    }
public function getRepeaterMapping(array $config)
    {
        $mapping = ['data' => null];
        $mapping['data'] = $this->setRepeaters(null, null, $config);

        return $mapping;
    }
public function getRepeaterMapping ( array $ config ) { $ mapping = [ 'data' => null ] ; $ mapping [ 'data' ] = $ this -> setRepeaters ( null , null , $ config ) ; return $ mapping ; }
This is a helper method to get a correct mapping from an array config. It's designed to take raw array config
to generate a correct format mapping for repeaters.

@param array $config

@return array
This is a helper method to get a correct mapping from an array config . It s designed to take raw array config to generate a correct format mapping for repeaters .