Flow PHP

SystemClock implements ClockInterface

Read onlyYes
FinalYes

Interfaces

ClockInterface

Methods

__construct()  : mixed
now()  : DateTimeImmutable
system()  : self
utc()  : self

Methods

__construct()

public __construct(DateTimeZone $timezone) : mixed
Parameters
$timezone : DateTimeZone

now()

public now() : DateTimeImmutable
Return values
DateTimeImmutable

system()

public static system() : self
Return values
self

        
On this page

Search results