Documentation

Environment
in package
implements EnvironmentInterface

Table of Contents

Interfaces

EnvironmentInterface

Constants

HEADER_REPLAY  = 'replay'
HEADER_TICK_TIME  = 'tickTime'

Properties

$isReplaying  : bool
$tickTime  : CarbonInterface

Methods

__construct()  : mixed
Environment constructor.
isReplaying()  : bool
now()  : DateTimeInterface
update()  : void

Constants

HEADER_REPLAY

private string HEADER_REPLAY = 'replay'

HEADER_TICK_TIME

private string HEADER_TICK_TIME = 'tickTime'

Properties

Methods

__construct()

Environment constructor.

public __construct() : mixed

isReplaying()

public isReplaying() : bool
Return values
bool

now()

public now() : DateTimeInterface
Return values
DateTimeInterface

update()

public update(array<string|int, mixed> $headers) : void
Parameters
$headers : array<string|int, mixed>

        
On this page

Search results