Example #1
0
 /**
  * Returns the state of the session.
  * active:
  *     Session is running and we can read/write records.
  * stopped:
  *     Session is stopped because we have reached the max number of records per operation.
  * new:
  *     Session is brand new and still has no records ids.
  * finished:
  *     Session is finished but the output file is still not finished (in case of export)
  *     or the final db save is yet not performed (in case of import).
  * closed:
  *     Session is closed, file is fully exported/imported
  *
  * @return string
  */
 public function getSessionState()
 {
     return $this->dataSession->getState();
 }