2025.3.11

This commit is contained in:
2025-03-11 13:34:12 +08:00
commit 0b95eb8bf0
2161 changed files with 219203 additions and 0 deletions
+32
View File
@@ -0,0 +1,32 @@
<?php
namespace Illuminate\Database\Events;
abstract class ConnectionEvent
{
/**
* The name of the connection.
*
* @var string
*/
public $connectionName;
/**
* The database connection instance.
*
* @var \Illuminate\Database\Connection
*/
public $connection;
/**
* Create a new event instance.
*
* @param \Illuminate\Database\Connection $connection
* @return void
*/
public function __construct($connection)
{
$this->connection = $connection;
$this->connectionName = $connection->getName();
}
}