MongoDB\Driver\Session::getTransactionState
  Returns the current transaction state for this session
  
 
  Description
  
   final public string MongoDB\Driver\Session::getTransactionState()
  
  
 
  Parameters
  This function has no parameters.
  
 
  Return Values
  
   Returns the current transaction state for this session.
  
  
 
  Errors/Exceptions
  
   - Throws MongoDB\Driver\Exception\InvalidArgumentException on argument parsing errors.
 
 
  See Also
  
   -  MongoDB\Driver\Session::isInTransaction
-  MongoDB\Driver\Session::getTransactionOptions