mirror of
https://github.com/symfony/recipes-contrib.git
synced 2026-09-12 07:36:34 +03:00
14 lines
432 B
PHP
14 lines
432 B
PHP
<?php
|
|
|
|
use MsgPhp\Eav\Entity\{Attribute, AttributeValue};
|
|
use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator;
|
|
|
|
return function (ContainerConfigurator $container) {
|
|
$container->extension('msgphp_eav', [
|
|
'class_mapping' => [
|
|
Attribute::class => \App\Entity\Eav\Attribute::class,
|
|
AttributeValue::class => \App\Entity\Eav\AttributeValue::class,
|
|
],
|
|
]);
|
|
};
|