/
githubmirror
/
symfony
Обзор
Документация
Войти
/
githubmirror
/
symfony
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
8.2
src/Symfony/Component/Workflow/Event/HasContextTrait.php
29 строк
590 B
Hugo Hamon
Remove `GuardEvent::getContext()` method and add `HasContextTrait` trait
28 авг 2023, 14:51
28 авг 2023, 14:51
2aee3ae
Код
Авторство
О чём код?
<?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\Workflow\Event; /** * @author Fabien Potencier <fabien@symfony.com> * @author Grégoire Pineau <lyrixx@lyrixx.info> * @author Hugo Hamon <hugohamon@neuf.fr> * * @internal */ trait HasContextTrait { private array $context = []; public function getContext(): array { return $this->context; } }