Файловый менеджер - Редактировать - /home/avadvi5/calendar.aeronextgen.com/davis/vendor/symfony/monolog-bridge/Processor/SwitchUserTokenProcessor.php
Ðазад
<?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\Bridge\Monolog\Processor; use Symfony\Component\Security\Core\Authentication\Token\SwitchUserToken; use Symfony\Component\Security\Core\Authentication\Token\TokenInterface; /** * Adds the original security token to the log entry. * * @author Igor Timoshenko <igor.timoshenko@i.ua> */ final class SwitchUserTokenProcessor extends AbstractTokenProcessor { protected function getKey(): string { return 'impersonator_token'; } protected function getToken(): ?TokenInterface { $token = $this->tokenStorage->getToken(); if ($token instanceof SwitchUserToken) { return $token->getOriginalToken(); } return null; } }
| ver. 1.1 | |
.
| PHP 8.3.30 | Ð“ÐµÐ½ÐµÑ€Ð°Ñ†Ð¸Ñ Ñтраницы: 0 |
proxy
|
phpinfo
|
ÐаÑтройка