DegradedNumberConverter
in package
implements
NumberConverterInterface
DegradedNumberConverter throws `UnsatisfiedDependencyException` exceptions if attempting to use number conversion functionality in an environment that does not support large integers (i.e. when moontoast/math is not available)
Interfaces, Classes and Traits
- NumberConverterInterface
- NumberConverterInterface converts UUIDs from hexadecimal characters into representations of integers and vice versa
Table of Contents
- fromHex() : void
- Throws an `UnsatisfiedDependencyException`
- toHex() : void
- Throws an `UnsatisfiedDependencyException`
Methods
fromHex()
Throws an `UnsatisfiedDependencyException`
public
fromHex(string $hex) : void
Parameters
- $hex : string
-
The hexadecimal string representation to convert
Tags
Return values
void —toHex()
Throws an `UnsatisfiedDependencyException`
public
toHex(mixed $integer) : void
Parameters
- $integer : mixed
-
An integer representation to convert