src/Factory/Controller/Plugin/UserCreatorFactory.php
public function createDocumentManager($connection,$config)
    {
        $dbConn = new Connection($connection);
        $dm = DocumentManager::create($dbConn,$config);
        return $dm;
    }
public function createDocumentManager($connection,$config)
    {
        $dbConn = new Connection($connection);
        $dm = DocumentManager::create($dbConn,$config);
        return $dm;
    }
public function createDocumentManager ( $ connection , $ config ) { $ dbConn = new Connection ( $ connection ) ; $ dm = DocumentManager :: create ( $ dbConn , $ config ) ; return $ dm ; }
Create a document manager

@param $connection
@param $config
@return DocumentManager
@codeCoverageIgnore
Create a document manager