src/CarteBlanche/Loader/EntityManagerLoader.php
public function load(array $config = null, \CarteBlanche\App\Container $container)
    {
        $em_name = isset($config['name']) ? $config['name'] : 'default';
       $em_fullname = $em_name.'_entity_manager';

        $existing = $container->get($em_fullname);
        if (!empty($existing)) {
            return $existing;
        }
        return $this->_buildEntityManager($em_fullname);
    }
public function load(array $config = null, \CarteBlanche\App\Container $container)
    {
        $em_name = isset($config['name']) ? $config['name'] : 'default';
       $em_fullname = $em_name.'_entity_manager';

        $existing = $container->get($em_fullname);
        if (!empty($existing)) {
            return $existing;
        }
        return $this->_buildEntityManager($em_fullname);
    }
Instance loader

@param   array                       $config
@param   \CarteBlanche\App\Container $container
@return  object