public function getParameters(array $config)
    {
        $params = [
            'opifer_eav.attribute_class' => $config['attribute_class'],
            'opifer_eav.media_class'     => $config['media_class'],
            'opifer_eav.nestable_class'  => $config['nestable_class'],
            'opifer_eav.option_class'    => $config['option_class'],
            'opifer_eav.schema_class'  => $config['schema_class'],
            'opifer_eav.valueset_class'  => $config['valueset_class'],
        ];

        foreach ($config['entities'] as $label => $entity) {
            $params['opifer_eav.entities'][$label] = $entity;
        }

        return $params;
    }
public function getParameters(array $config)
    {
        $params = [
            'opifer_eav.attribute_class' => $config['attribute_class'],
            'opifer_eav.media_class'     => $config['media_class'],
            'opifer_eav.nestable_class'  => $config['nestable_class'],
            'opifer_eav.option_class'    => $config['option_class'],
            'opifer_eav.schema_class'  => $config['schema_class'],
            'opifer_eav.valueset_class'  => $config['valueset_class'],
        ];

        foreach ($config['entities'] as $label => $entity) {
            $params['opifer_eav.entities'][$label] = $entity;
        }

        return $params;
    }
public function getParameters ( array $ config ) { $ params = [ 'opifer_eav.attribute_class' => $ config [ 'attribute_class' ] , 'opifer_eav.media_class' => $ config [ 'media_class' ] , 'opifer_eav.nestable_class' => $ config [ 'nestable_class' ] , 'opifer_eav.option_class' => $ config [ 'option_class' ] , 'opifer_eav.schema_class' => $ config [ 'schema_class' ] , 'opifer_eav.valueset_class' => $ config [ 'valueset_class' ] , ] ; foreach ( $ config [ 'entities' ] as $ label => $ entity ) { $ params [ 'opifer_eav.entities' ] [ $ label ] = $ entity ; } return $ params ; }
Simplifying parameter syntax

@param array $config

@return array
Simplifying parameter syntax