ConnectionEstablished.php
2 weeks ago
ConnectionEvent.php
2 years ago
DatabaseBusy.php
2 weeks ago
DatabaseRefreshed.php
2 years ago
MigrationEnded.php
2 years ago
MigrationEvent.php
2 years ago
MigrationStarted.php
2 years ago
MigrationsEnded.php
2 years ago
MigrationsEvent.php
2 years ago
MigrationsStarted.php
2 years ago
ModelsPruned.php
2 years ago
NoPendingMigrations.php
2 years ago
QueryExecuted.php
2 years ago
SchemaDumped.php
2 years ago
SchemaLoaded.php
2 years ago
StatementPrepared.php
2 years ago
TransactionBeginning.php
2 years ago
TransactionCommitted.php
2 years ago
TransactionCommitting.php
2 weeks ago
TransactionRolledBack.php
2 years ago
StatementPrepared.php
33 lines
| 1 | <?php |
| 2 | |
| 3 | namespace IAWPSCOPED\Illuminate\Database\Events; |
| 4 | |
| 5 | /** @internal */ |
| 6 | class StatementPrepared |
| 7 | { |
| 8 | /** |
| 9 | * The database connection instance. |
| 10 | * |
| 11 | * @var \Illuminate\Database\Connection |
| 12 | */ |
| 13 | public $connection; |
| 14 | /** |
| 15 | * The PDO statement. |
| 16 | * |
| 17 | * @var \PDOStatement |
| 18 | */ |
| 19 | public $statement; |
| 20 | /** |
| 21 | * Create a new event instance. |
| 22 | * |
| 23 | * @param \Illuminate\Database\Connection $connection |
| 24 | * @param \PDOStatement $statement |
| 25 | * @return void |
| 26 | */ |
| 27 | public function __construct($connection, $statement) |
| 28 | { |
| 29 | $this->statement = $statement; |
| 30 | $this->connection = $connection; |
| 31 | } |
| 32 | } |
| 33 |