src/Bundle/DependencyInjection/Driver/Doctrine/AbstractDoctrineDriver.php
protected function getObjectManagerName(MetadataInterface $metadata): ?string
    {
        $objectManagerName = null;

        if ($metadata->hasParameter('options') && isset($metadata->getParameter('options')['object_manager'])) {
            $objectManagerName = $metadata->getParameter('options')['object_manager'];
        }

        return $objectManagerName;
    }
protected function getObjectManagerName(MetadataInterface $metadata): ?string
    {
        $objectManagerName = null;

        if ($metadata->hasParameter('options') && isset($metadata->getParameter('options')['object_manager'])) {
            $objectManagerName = $metadata->getParameter('options')['object_manager'];
        }

        return $objectManagerName;
    }
protected function getObjectManagerName ( MetadataInterface $ metadata ) : ? string { $ objectManagerName = null ; if ( $ metadata -> hasParameter ( 'options' ) && isset ( $ metadata -> getParameter ( 'options' ) [ 'object_manager' ] ) ) { $ objectManagerName = $ metadata -> getParameter ( 'options' ) [ 'object_manager' ] ; } return $ objectManagerName ; }
Return the configured object managre name, or NULL if the default
manager should be used.
Return the configured object managre name or NULL if the default manager should be used .