/
githubmirror
/
symfony
Обзор
Документация
Войти
/
githubmirror
/
symfony
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
8.2
src/Symfony/Component/RemoteEvent/Event/Sms/SmsEvent.php
37 строк
830 B
Ousama Ben Younes
[RemoteEvent][Notifier] Add SMS engagement events
10 авг 2026, 12:36
10 авг 2026, 12:36
870e2d0
Код
Авторство
О чём код?
<?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\RemoteEvent\Event\Sms; use Symfony\Component\RemoteEvent\RemoteEvent; /** * @author Fabien Potencier <fabien@symfony.com> */ final class SmsEvent extends RemoteEvent { public const FAILED = 'failed'; public const DELIVERED = 'delivered'; public const CLICKED = 'clicked'; public const UNSUBSCRIBED = 'unsubscribed'; private string $phone = ''; public function setRecipientPhone(string $phone): void { $this->phone = $phone; } public function getRecipientPhone(): string { return $this->phone; } }