Вход Регистрация
Файл: vendor/laravel/framework/src/Illuminate/Redis/Events/CommandFailed.php
Строк: 76
<?php

namespace IlluminateRedisEvents;

use 
Throwable;

class 
CommandFailed
{
    
/**
     * The Redis command that failed.
     *
     * @var string
     */
    
public $command;

    
/**
     * The array of command parameters.
     *
     * @var array
     */
    
public $parameters;

    
/**
     * The exception that was thrown.
     *
     * @var Throwable
     */
    
public $exception;

    
/**
     * The Redis connection instance.
     *
     * @var IlluminateRedisConnectionsConnection
     */
    
public $connection;

    
/**
     * The Redis connection name.
     *
     * @var string
     */
    
public $connectionName;

    
/**
     * Create a new event instance.
     *
     * @param  string  $command
     * @param  array  $parameters
     * @param  Throwable  $exception
     * @param  IlluminateRedisConnectionsConnection  $connection
     */
    
public function __construct($command$parametersThrowable $exception$connection)
    {
        
$this->command $command;
        
$this->parameters $parameters;
        
$this->exception $exception;
        
$this->connection $connection;
        
$this->connectionName $connection->getName();
    }
}
Онлайн: 3
Реклама