class DegradedTimeConverter implements TimeConverterInterface (View source)

DegradedTimeConverter throws UnsatisfiedDependencyException exceptions if attempting to use time conversion functionality in an environment that does not support large integers (i.e. when moontoast/math is not available)

Methods

string[]
calculateTime(string $seconds, string $microSeconds)

Throws an UnsatisfiedDependencyException

Details

string[] calculateTime(string $seconds, string $microSeconds)

Throws an UnsatisfiedDependencyException

Parameters

string $seconds
string $microSeconds

Return Value

string[] An array guaranteed to contain low, mid, and high keys

Exceptions

UnsatisfiedDependencyException