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
DatabaseBusy.php
32 lines
| 1 | <?php |
| 2 | |
| 3 | namespace IAWPSCOPED\Illuminate\Database\Events; |
| 4 | |
| 5 | /** @internal */ |
| 6 | class DatabaseBusy |
| 7 | { |
| 8 | /** |
| 9 | * The database connection name. |
| 10 | * |
| 11 | * @var string |
| 12 | */ |
| 13 | public $connectionName; |
| 14 | /** |
| 15 | * The number of open connections. |
| 16 | * |
| 17 | * @var int |
| 18 | */ |
| 19 | public $connections; |
| 20 | /** |
| 21 | * Create a new event instance. |
| 22 | * |
| 23 | * @param string $connectionName |
| 24 | * @param int $connections |
| 25 | */ |
| 26 | public function __construct($connectionName, $connections) |
| 27 | { |
| 28 | $this->connectionName = $connectionName; |
| 29 | $this->connections = $connections; |
| 30 | } |
| 31 | } |
| 32 |