interface CheckpointInterface

Methods

bool
acquire(DateTimeImmutable$now)

No description

from()

No description

time()

No description

int
index()

No description

void
save(DateTimeImmutable$time,int$index)

No description

void
release(DateTimeImmutable$now,DateTimeImmutable|null$nextTime)

No description

Details

bool acquire(DateTimeImmutable$now)

Parameters

DateTimeImmutable $now

Return Value

bool

DateTimeImmutable from()

Return Value

DateTimeImmutable

DateTimeImmutable time()

Return Value

DateTimeImmutable

int index()

Return Value

int

void save(DateTimeImmutable$time,int$index)

Parameters

DateTimeImmutable $time
int $index

Return Value

void

void release(DateTimeImmutable$now,DateTimeImmutable|null$nextTime)

Parameters

DateTimeImmutable $now
DateTimeImmutable|null $nextTime

Return Value

void