You are here

protected function MongodbSessionHandler::mongoCollection in MongoDB 8

return \MongoCollection

File

mongodb_user/src/MongodbSessionHandler.php, line 183
Contains \Drupal\mongodb_user\MongodbSessionHandler.

Class

MongodbSessionHandler

Namespace

Drupal\mongodb_user

Code

protected function mongoCollection() {
  return $this->mongo
    ->get('sessions');
}