Files
symfony-flex-recipes-contrib/msgphp/eav-bundle/0.2/config/packages/msgphp_eav.php
T
2017-12-28 16:08:15 +01:00

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