protected $mConn = null;
protected $mOpened = false;
- /** @var Array */
+ /**
+ * @since 1.20
+ * @var array of callable
+ */
protected $trxIdleCallbacks = array();
protected $mTablePrefix;
*
* This is useful for updates to different systems or separate transactions are needed.
*
+ * @since 1.20
+ *
* @param Closure $callback
- * @return void
*/
final public function onTransactionIdle( Closure $callback ) {
if ( $this->mTrxLevel ) {
}
/**
- * Actually run the "on transaction idle" callbacks
+ * Actually run the "on transaction idle" callbacks.
+ *
+ * @since 1.20
*/
protected function runOnTransactionIdleCallbacks() {
$e = null; // last exception