/
githubmirror
/
symfony
Обзор
Документация
Войти
/
githubmirror
/
symfony
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
8.2
src/Symfony/Component/Messenger/Event/WorkerRateLimitedEvent.php
37 строк
842 B
David Prévot
Fix executable bit
03 июл 2023, 15:13
03 июл 2023, 15:13
5277375
Код
Авторство
О чём код?
<?php /* * This file is part of the Symfony package. * * (c) Fabien Potencier <fabien@symfony.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Component\Messenger\Event; use Symfony\Component\RateLimiter\LimiterInterface; /** * Dispatched after the worker has been blocked due to a configured rate limiter. * Can be used to reset the rate limiter. * * @author Bob van de Vijver */ final class WorkerRateLimitedEvent { public function __construct(private LimiterInterface $limiter, private string $transportName) { } public function getLimiter(): LimiterInterface { return $this->limiter; } public function getTransportName(): string { return $this->transportName; } }