PHP 클래스 Contao\CoreBundle\Monolog\ContaoTableProcessor

상속: use trait Contao\CoreBundle\Framework\ScopeAwareTrait
파일 보기 프로젝트 열기: contao/core-bundle

공개 메소드들

메소드 설명
__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