PHP Class spec\Tolerance\Bridge\Symfony\Tracer\EventListener\OnKernelTerminate\TraceOutgoingResponseSpec

Inheritance: extends PhpSpec\ObjectBehavior
显示文件 Open project: sroze/tolerance

Public Methods

Method Description
it_do_not_trace_if_no_request_in_stack ( Tolerance\Tracer\Tracer $tracer, Tolerance\Tracer\SpanStack\SpanStack $spanStack, Span $span, Symfony\Component\HttpKernel\Event\PostResponseEvent $event )
it_traces_the_response_and_pop_the_stack ( HttpFoundationSpanFactory $httpFoundationSpanFactory, Tolerance\Tracer\Tracer $tracer, Tolerance\Tracer\SpanStack\SpanStack $spanStack, Span $span, Symfony\Component\HttpKernel\Event\PostResponseEvent $event )
let ( HttpFoundationSpanFactory $httpFoundationSpanFactory, Tolerance\Tracer\Tracer $tracer, Tolerance\Tracer\SpanStack\SpanStack $spanStack )

Method Details

it_do_not_trace_if_no_request_in_stack() public method

public it_do_not_trace_if_no_request_in_stack ( Tolerance\Tracer\Tracer $tracer, Tolerance\Tracer\SpanStack\SpanStack $spanStack, Span $span, Symfony\Component\HttpKernel\Event\PostResponseEvent $event )
$tracer Tolerance\Tracer\Tracer
$spanStack Tolerance\Tracer\SpanStack\SpanStack
$span Tolerance\Tracer\Span\Span
$event Symfony\Component\HttpKernel\Event\PostResponseEvent

it_traces_the_response_and_pop_the_stack() public method

public it_traces_the_response_and_pop_the_stack ( HttpFoundationSpanFactory $httpFoundationSpanFactory, Tolerance\Tracer\Tracer $tracer, Tolerance\Tracer\SpanStack\SpanStack $spanStack, Span $span, Symfony\Component\HttpKernel\Event\PostResponseEvent $event )
$httpFoundationSpanFactory Tolerance\Tracer\SpanFactory\HttpFoundation\HttpFoundationSpanFactory
$tracer Tolerance\Tracer\Tracer
$spanStack Tolerance\Tracer\SpanStack\SpanStack
$span Tolerance\Tracer\Span\Span
$event Symfony\Component\HttpKernel\Event\PostResponseEvent

let() public method

public let ( HttpFoundationSpanFactory $httpFoundationSpanFactory, Tolerance\Tracer\Tracer $tracer, Tolerance\Tracer\SpanStack\SpanStack $spanStack )
$httpFoundationSpanFactory Tolerance\Tracer\SpanFactory\HttpFoundation\HttpFoundationSpanFactory
$tracer Tolerance\Tracer\Tracer
$spanStack Tolerance\Tracer\SpanStack\SpanStack