src/EntityManager/EntityManagerFactory.php
public function addDsmParamsToConfig(Configuration $doctrineConfig, ConfigInterface $config): void
    {
        $paths          = $this->getPathInformation($config);
        $namingStrategy = $config->get(ConfigInterface::PARAM_DOCTRINE_NAMING_STRATEGY);
        $driver         = new StaticPHPDriver($paths);
        $doctrineConfig->setMetadataDriverImpl($driver);
        $doctrineConfig->setNamingStrategy($namingStrategy);
    }
public function addDsmParamsToConfig(Configuration $doctrineConfig, ConfigInterface $config): void
    {
        $paths          = $this->getPathInformation($config);
        $namingStrategy = $config->get(ConfigInterface::PARAM_DOCTRINE_NAMING_STRATEGY);
        $driver         = new StaticPHPDriver($paths);
        $doctrineConfig->setMetadataDriverImpl($driver);
        $doctrineConfig->setNamingStrategy($namingStrategy);
    }
public function addDsmParamsToConfig ( Configuration $ doctrineConfig , ConfigInterface $ config ) : void { $ paths = $ this -> getPathInformation ( $ config ) ; $ namingStrategy = $ config -> get ( ConfigInterface :: PARAM_DOCTRINE_NAMING_STRATEGY ) ; $ driver = new StaticPHPDriver ( $ paths ) ; $ doctrineConfig -> setMetadataDriverImpl ( $ driver ) ; $ doctrineConfig -> setNamingStrategy ( $ namingStrategy ) ; }
This is used to add the DSM specific configuration to doctrine Configuration object. You shouldn't need to
override this, but if you do you can

@param Configuration   $doctrineConfig
@param ConfigInterface $config
This is used to add the DSM specific configuration to doctrine Configuration object . You shouldn t need to override this but if you do you can