Documentation

TimedStageDecorator
in package

FinalYes

Table of Contents

Properties

$decoratedStage  : callable
$logger  : LoggerInterface

Methods

__construct()  : mixed
__invoke()  : mixed
Starts a timer before entering the stage, and logs the expired time afterwards.

Properties

Methods

__invoke()

Starts a timer before entering the stage, and logs the expired time afterwards.

public __invoke(mixed $payload) : mixed

Since we support any stage, we do not know what payload is received or returned; so both are mixed.

Parameters
$payload : mixed

        
On this page

Search results