Doctrine\DBAL\Connection::getTransactionNestingLevel
Returns the current transaction nesting level.
Signature
public function getTransactionNestingLevel()
Returns
- integer
- The nesting level. A value of 0 means there's no active transaction.