swoole-framwork/vendor/illuminate/database/Events/DatabaseBusy.php

33 lines
579 B
PHP
Raw Normal View History

2024-05-20 11:51:07 +08:00
<?php
namespace Illuminate\Database\Events;
class DatabaseBusy
{
/**
* The database connection name.
*
* @var string
*/
public $connectionName;
/**
* The number of open connections.
*
* @var int
*/
public $connections;
/**
* Create a new event instance.
*
* @param string $connectionName
* @param int $connections
*/
public function __construct($connectionName, $connections)
{
$this->connectionName = $connectionName;
$this->connections = $connections;
}
}