Overview
KB
Technical FAQ
PHP Manual
CSS2 Manual
HTML Manual
JS Guide
JS Reference
PhpDock Manual
Nu-Coder Manual
PhpExpress Manual
PHP Joomla
Development
Learn PHP
 
<MongoDB\Driver\Session::commitTransactionMongoDB\Driver\Session::endSession>
^MongoDB\Driver\SessionLast updated: Mon, 26 Oct 2026

MongoDB\Driver\Session::__construct

(mongodb >=1.4.0)

MongoDB\Driver\Session::__construct — Create a new Session (not used)

Description

final private function MongoDB\Driver\Session::__construct()

MongoDB\Driver\Session objects are returned by MongoDB\Driver\Manager::startSession() and cannot be constructed directly.

Parameters

This function has no parameters.

See Also


<MongoDB\Driver\Session::commitTransactionMongoDB\Driver\Session::endSession>
^MongoDB\Driver\SessionLast updated: Mon, 26 Oct 2026