Example #1
0
 /**
  * Throws an exception if the DocumentManager is closed or currently not active.
  *
  * @throws PHPCRException If the DocumentManager is closed.
  */
 private function errorIfClosed()
 {
     if ($this->closed) {
         throw PHPCRException::documentManagerClosed();
     }
 }