Listeners
2 years ago
TransactionBeginEventArgs.php
2 years ago
TransactionCommitEventArgs.php
2 years ago
TransactionEventArgs.php
2 years ago
TransactionRollBackEventArgs.php
2 years ago
index.php
2 years ago
TransactionEventArgs.php
19 lines
| 1 | <?php |
| 2 | declare (strict_types=1); |
| 3 | namespace MailPoetVendor\Doctrine\DBAL\Event; |
| 4 | if (!defined('ABSPATH')) exit; |
| 5 | use MailPoetVendor\Doctrine\Common\EventArgs; |
| 6 | use MailPoetVendor\Doctrine\DBAL\Connection; |
| 7 | abstract class TransactionEventArgs extends EventArgs |
| 8 | { |
| 9 | private Connection $connection; |
| 10 | public function __construct(Connection $connection) |
| 11 | { |
| 12 | $this->connection = $connection; |
| 13 | } |
| 14 | public function getConnection() : Connection |
| 15 | { |
| 16 | return $this->connection; |
| 17 | } |
| 18 | } |
| 19 |