Files
symfony-flex-recipes-contrib/msgphp/eav-bundle/0.10/config/packages/msgphp_eav.php
T

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,
],
]);
};