File "TransactionEventArgs.php"

Full Path: /home/clickysoft/public_html/jmapi5.clickysoft.net/vendor/doctrine/dbal/src/Event/TransactionEventArgs.php
File size: 445 bytes
MIME-type: text/x-php
Charset: utf-8

<?php

declare(strict_types=1);

namespace Doctrine\DBAL\Event;

use Doctrine\Common\EventArgs;
use Doctrine\DBAL\Connection;

/** @deprecated */
abstract class TransactionEventArgs extends EventArgs
{
    private Connection $connection;

    public function __construct(Connection $connection)
    {
        $this->connection = $connection;
    }

    public function getConnection(): Connection
    {
        return $this->connection;
    }
}