/
githubmirror
/
symfony
Обзор
Документация
Войти
/
githubmirror
/
symfony
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
8.2
src/Symfony/Component/Notifier/Transport/TransportInterface.php
29 строк
767 B
Vincent Langlet
Use Stringable interface as much as possible
30 июл 2023, 12:31
30 июл 2023, 12:31
43a7704
Код
Авторство
О чём код?
<?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\Transport; use Symfony\Component\Notifier\Exception\TransportExceptionInterface; use Symfony\Component\Notifier\Message\MessageInterface; use Symfony\Component\Notifier\Message\SentMessage; /** * @author Fabien Potencier <fabien@symfony.com> */ interface TransportInterface extends \Stringable { /** * @throws TransportExceptionInterface */ public function send(MessageInterface $message): ?SentMessage; public function supports(MessageInterface $message): bool; }