gl-website-deployer/vendor/doctrine/dbal/src/Event/TransactionEventArgs.php
2024-11-19 08:02:04 +01:00

24 lines
445 B
PHP

<?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;
}
}