/
githubmirror
/
symfony
Обзор
Документация
Войти
/
githubmirror
/
symfony
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
8.2
src/Symfony/Component/Semaphore/Exception/SemaphoreExpiredException.php
28 строк
831 B
Nicolas Grekas
[Semaphore] Various fixes and hardenings
18 май 2026, 20:26
18 май 2026, 20:26
b6778ee
Код
Авторство
О чём код?
<?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\Semaphore\Exception; use Symfony\Component\Semaphore\Key; /** * SemaphoreExpiredException is thrown when a semaphore may conflict due to a TTL expiration. * * @author Jérémy Derussé <jeremy@derusse.com> * @author Grégoire Pineau <lyrixx@lyrixx.info> */ class SemaphoreExpiredException extends \RuntimeException implements ExceptionInterface { public function __construct(Key $key, string $message, ?\Throwable $previous = null) { parent::__construct(\sprintf('The semaphore "%s" has expired: %s.', $key, $message), 0, $previous); } }