Documentation

SystemTimeProvider
in package
implements TimeProviderInterface

SystemTimeProvider uses built-in PHP functions to provide the time

Interfaces, Classes and Traits

TimeProviderInterface
TimeProviderInterface provides functionality to get the time from a specific type of time provider

Table of Contents

currentTime()  : array<string|int, int>
Returns a timestamp array

Methods

currentTime()

Returns a timestamp array

public currentTime() : array<string|int, int>
Return values
array<string|int, int>

Array containing sec and usec components of a timestamp

Search results