final class FakeClock implements ClockInterface (View source)

Clock implementation for tests This is a mutable class in order to allow to adjust the behaviour during runtime for testing purposes

Methods

static void
setNow(DateTimeImmutable $now)

No description

now()

No description

Details

static void setNow(DateTimeImmutable $now)

No description

Parameters

DateTimeImmutable $now

Return Value

void

DateTimeImmutable now()

No description

Return Value

DateTimeImmutable