(mongodb >=1.5.0)
MongoDB\Driver\Session::endSession — Terminates a session
This method closes an existing session. If a transaction was associated with this session, this transaction is also aborted, and all its operations are rolled back.
This function has no parameters.
No value is returned.