protected function processConfig(array $config)
    {
        return [
            'model'      => $config['model'],
            'table'      => $this->getModelTable($config['model']),
            'field'      => snake_case($config['field']),
            'key'        => snake_case($this->key($config['key'])),
            'foreignKey' => snake_case($this->key($config['foreignKey'])),
        ];
    }
protected function processConfig(array $config)
    {
        return [
            'model'      => $config['model'],
            'table'      => $this->getModelTable($config['model']),
            'field'      => snake_case($config['field']),
            'key'        => snake_case($this->key($config['key'])),
            'foreignKey' => snake_case($this->key($config['foreignKey'])),
        ];
    }
protected function processConfig ( array $ config ) { return [ 'model' => $ config [ 'model' ] , 'table' => $ this -> getModelTable ( $ config [ 'model' ] ) , 'field' => snake_case ( $ config [ 'field' ] ) , 'key' => snake_case ( $ this -> key ( $ config [ 'key' ] ) ) , 'foreignKey' => snake_case ( $ this -> key ( $ config [ 'foreignKey' ] ) ) , ] ; }
Process configuration parameters to check key names, fix snake casing, etc..

@param array $config
@return array
Process configuration parameters to check key names fix snake casing etc ..