Subversion-Projekte lars-tiefland.laravel_shop

Revision

Details | Letzte Änderung | Log anzeigen | RSS feed

Revision Autor Zeilennr. Zeile
148 lars 1
<?php
2
 
3
namespace Doctrine\DBAL\Event;
4
 
5
use Doctrine\Common\EventArgs;
6
use Doctrine\DBAL\Connection;
7
 
8
/**
9
 * Event Arguments used when a Driver connection is established inside Doctrine\DBAL\Connection.
10
 *
11
 * @deprecated
12
 */
13
class ConnectionEventArgs extends EventArgs
14
{
15
    private Connection $connection;
16
 
17
    public function __construct(Connection $connection)
18
    {
19
        $this->connection = $connection;
20
    }
21
 
22
    /** @return Connection */
23
    public function getConnection()
24
    {
25
        return $this->connection;
26
    }
27
}