Файл: vendor/doctrine/dbal/src/Event/ConnectionEventArgs.php
Строк: 62
<?php
namespace DoctrineDBALEvent;
use DoctrineCommonEventArgs;
use DoctrineDBALConnection;
/**
* Event Arguments used when a Driver connection is established inside DoctrineDBALConnection.
*
* @deprecated
*/
class ConnectionEventArgs extends EventArgs
{
private Connection $connection;
public function __construct(Connection $connection)
{
$this->connection = $connection;
}
/** @return Connection */
public function getConnection()
{
return $this->connection;
}
}