/**
  * {@inheritdoc}
  */
 public function commit()
 {
     if ($this->transactionDepth === 1) {
         parent::commit();
     }
     $this->transactionDepth -= 1;
     return $this;
 }