PHP Класс Contao\CoreBundle\Monolog\ContaoTableProcessor

Наследование: use trait Contao\CoreBundle\Framework\ScopeAwareTrait
Показать файл Открыть проект

Открытые методы

Метод Описание
__construct ( Symfony\Component\HttpFoundation\RequestStack $requestStack, Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorageInterface $tokenStorage, boolean $anonymizeIp = true ) Constructor.
__invoke ( array $record ) : array Move the Contao context into the "extra" section.

Приватные методы

Метод Описание
anonymizeIp ( string $ip ) : string Anonymizes the IP adress.
updateAction ( ContaoContext $context, integer $level ) Sets the action.
updateBrowser ( ContaoContext $context, Request $request = null ) Sets the browser.
updateIp ( ContaoContext $context, Request $request = null ) Sets the IP adress.
updateSource ( ContaoContext $context ) Sets the source.
updateUsername ( ContaoContext $context ) Sets the username.

Описание методов

__construct() публичный Метод

Constructor.
public __construct ( Symfony\Component\HttpFoundation\RequestStack $requestStack, Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorageInterface $tokenStorage, boolean $anonymizeIp = true )
$requestStack Symfony\Component\HttpFoundation\RequestStack
$tokenStorage Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorageInterface
$anonymizeIp boolean

__invoke() публичный Метод

Move the Contao context into the "extra" section.
public __invoke ( array $record ) : array
$record array
Результат array