/
githubmirror
/
symfony
Обзор
Документация
Войти
/
githubmirror
/
symfony
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
8.2
src/Symfony/Component/Notifier/Bridge/Slack/UpdateMessageSlackOptions.php
26 строк
638 B
Maxim Dovydenok
[Notifier] Allow to update Slack messages
16 дек 2022, 11:45
16 дек 2022, 11:45
e410909
Код
Авторство
О чём код?
<?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\Bridge\Slack; /** * @author Maxim Dovydenok <dovydenok.maxim@gmail.com> */ final class UpdateMessageSlackOptions extends SlackOptions { public function __construct(string $channelId, string $messageId, array $options = []) { $options['channel'] = $channelId; $options['ts'] = $messageId; parent::__construct($options); } }