/
githubmirror
/
symfony
Обзор
Документация
Войти
/
githubmirror
/
symfony
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
8.2
src/Symfony/Component/Notifier/Tests/Message/DummyMessageWithoutTransport.php
41 строка
885 B
Jan Schädlich
[Notifier] Add unit tests for NullMessage, NullTransport and NullTransportFactory
03 ноя 2020, 02:54
Не верифицирован
03 ноя 2020, 02:54
8a78dc2
Код
Авторство
О чём код?
<?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\Tests\Message; use Symfony\Component\Notifier\Message\MessageInterface; use Symfony\Component\Notifier\Message\MessageOptionsInterface; /** * @author Jan Schädlich <jan.schaedlich@sensiolabs.de> */ class DummyMessageWithoutTransport implements MessageInterface { public function getRecipientId(): ?string { return 'recipient_id'; } public function getSubject(): string { return 'subject'; } public function getOptions(): ?MessageOptionsInterface { return null; } public function getTransport(): ?string { return null; } }