mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-08 08:56:23 +08:00
Fix event namespace in yii\db\Connection phpdoc (#18608)
This commit is contained in:
@ -136,19 +136,19 @@ use yii\caching\CacheInterface;
|
|||||||
class Connection extends Component
|
class Connection extends Component
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* @event yii\base\Event an event that is triggered after a DB connection is established
|
* @event \yii\base\Event an event that is triggered after a DB connection is established
|
||||||
*/
|
*/
|
||||||
const EVENT_AFTER_OPEN = 'afterOpen';
|
const EVENT_AFTER_OPEN = 'afterOpen';
|
||||||
/**
|
/**
|
||||||
* @event yii\base\Event an event that is triggered right before a top-level transaction is started
|
* @event \yii\base\Event an event that is triggered right before a top-level transaction is started
|
||||||
*/
|
*/
|
||||||
const EVENT_BEGIN_TRANSACTION = 'beginTransaction';
|
const EVENT_BEGIN_TRANSACTION = 'beginTransaction';
|
||||||
/**
|
/**
|
||||||
* @event yii\base\Event an event that is triggered right after a top-level transaction is committed
|
* @event \yii\base\Event an event that is triggered right after a top-level transaction is committed
|
||||||
*/
|
*/
|
||||||
const EVENT_COMMIT_TRANSACTION = 'commitTransaction';
|
const EVENT_COMMIT_TRANSACTION = 'commitTransaction';
|
||||||
/**
|
/**
|
||||||
* @event yii\base\Event an event that is triggered right after a top-level transaction is rolled back
|
* @event \yii\base\Event an event that is triggered right after a top-level transaction is rolled back
|
||||||
*/
|
*/
|
||||||
const EVENT_ROLLBACK_TRANSACTION = 'rollbackTransaction';
|
const EVENT_ROLLBACK_TRANSACTION = 'rollbackTransaction';
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user