/
githubmirror
/
symfony
Обзор
Документация
Войти
/
githubmirror
/
symfony
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
8.2
src/Symfony/Component/Notifier/Exception/UnsupportedOptionsException.php
25 строк
764 B
Raphaël Geffroy
[Notifier] unsupported options exception
18 дек 2024, 11:31
18 дек 2024, 11:31
27dfb8c
Код
Авторство
О чём код?
<?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\Notifier\Exception; use Symfony\Component\Notifier\Message\MessageOptionsInterface; /** * @author Raphaël Geffroy <raphael@geffroy.dev> */ class UnsupportedOptionsException extends LogicException { public function __construct(string $transport, string $supported, MessageOptionsInterface $given) { parent::__construct(\sprintf('The "%s" transport only supports instances of "%s" for options (instance of "%s" given).', $transport, $supported, get_debug_type($given))); } }