src/CoreBundle/EventListener/DcGeneral/PreCreateListener.php
public function handle(PreCreateDcGeneralEvent $event)
    {
        $factory = $event->getFactory();
        if (!in_array($factory->getContainerName(), $this->factory->collectNames())) {
            return;
        }

        $factory->setContainerClassName(MetaModelDataDefinition::class);
    }
public function handle(PreCreateDcGeneralEvent $event)
    {
        $factory = $event->getFactory();
        if (!in_array($factory->getContainerName(), $this->factory->collectNames())) {
            return;
        }

        $factory->setContainerClassName(MetaModelDataDefinition::class);
    }
Handle the event.

@param PreCreateDcGeneralEvent $event The event.

@return void