Doctrine\MongoDB\LoggableDatabase::doSelectCollection PHP Method

doSelectCollection() protected method

Return a new LoggableCollection instance.
See also: Database::doSelectCollection()
protected doSelectCollection ( string $name ) : Doctrine\MongoDB\LoggableCollection
$name string
return Doctrine\MongoDB\LoggableCollection
    protected function doSelectCollection($name)
    {
        $mongoCollection = $this->mongoDB->selectCollection($name);
        return new LoggableCollection($this, $mongoCollection, $this->eventManager, $this->numRetries, $this->loggerCallable);
    }