/
githubmirror
/
framework
Обзор
Документация
Войти
/
githubmirror
/
framework
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
13.x
src/Illuminate/Redis/Events/CommandExecuted.php
58 строк
1 KB
Andrew Brown
[12.x] remove `@return` docblocks on constructors (#55076)
19 мар 2025, 23:10
Не верифицирован
19 мар 2025, 23:10
8f0e00b
Код
Авторство
О чём код?
<?php namespace Illuminate\Redis\Events; class CommandExecuted { /** * The Redis command that was executed. * * @var string */ public $command; /** * The array of command parameters. * * @var array */ public $parameters; /** * The number of milliseconds it took to execute the command. * * @var float */ public $time; /** * The Redis connection instance. * * @var \Illuminate\Redis\Connections\Connection */ public $connection; /** * The Redis connection name. * * @var string */ public $connectionName; /** * Create a new event instance. * * @param string $command * @param array $parameters * @param float|null $time * @param \Illuminate\Redis\Connections\Connection $connection */ public function __construct($command, $parameters, $time, $connection) { $this->time = $time; $this->command = $command; $this->parameters = $parameters; $this->connection = $connection; $this->connectionName = $connection->getName(); } }