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