PHP Class Tolerance\Bridge\Monolog\MessageProfile\RequestIdentifierProcessor

显示文件 Open project: sroze/tolerance

Public Methods

Method Description
__construct ( Tolerance\MessageProfile\HttpRequest\HttpFoundation\RequestIdentifier\RequestIdentifierResolver $requestIdentifierResolver, Symfony\Component\HttpFoundation\RequestStack $requestStack )
__invoke ( array $record ) : array Updates the record with the request identifier.

Method Details

__construct() public method

public __construct ( Tolerance\MessageProfile\HttpRequest\HttpFoundation\RequestIdentifier\RequestIdentifierResolver $requestIdentifierResolver, Symfony\Component\HttpFoundation\RequestStack $requestStack )
$requestIdentifierResolver Tolerance\MessageProfile\HttpRequest\HttpFoundation\RequestIdentifier\RequestIdentifierResolver
$requestStack Symfony\Component\HttpFoundation\RequestStack

__invoke() public method

Updates the record with the request identifier.
public __invoke ( array $record ) : array
$record array
return array