Illuminate\Database\Connection::fireConnectionEvent PHP Метод

fireConnectionEvent() защищенный Метод

Fire an event for this connection.
protected fireConnectionEvent ( string $event ) : void
$event string
Результат void
    protected function fireConnectionEvent($event)
    {
        if (!isset($this->events)) {
            return;
        }
        switch ($event) {
            case 'beganTransaction':
                return $this->events->fire(new Events\TransactionBeginning($this));
            case 'committed':
                return $this->events->fire(new Events\TransactionCommitted($this));
            case 'rollingBack':
                return $this->events->fire(new Events\TransactionRolledBack($this));
        }
    }