Table of Contents
-
$instance
: self|null
-
$legacyToString
: array<string|int, string>
-
$stringToLegacy
: array<string|int, int>
-
__construct()
: mixed
-
getInstance()
: self
-
getLegacyToStringMap()
: array<string|int, string>
-
getStringToLegacyMap()
: array<string|int, int>
-
legacyToString()
: string|null
-
reset()
: void
-
setInstance()
: void
-
stringToLegacy()
: int|null
-
make()
: self
$instance
private
static self|null
$instance
= null
$legacyToString
private
array<string|int, string>
$legacyToString
= []
-
phpstan-var
-
$stringToLegacy
private
array<string|int, int>
$stringToLegacy
= []
-
phpstan-var
-
__construct()
public
__construct() : mixed
Return values
mixed
—
getInstance()
public
static getInstance() : self
Return values
self
—
getLegacyToStringMap()
public
getLegacyToStringMap() : array<string|int, string>
-
phpstan-return
-
Return values
array<string|int, string>
—
getStringToLegacyMap()
public
getStringToLegacyMap() : array<string|int, int>
-
phpstan-return
-
Return values
array<string|int, int>
—
legacyToString()
public
legacyToString(int $legacy) : string|null
Parameters
-
$legacy
: int
-
Return values
string|null
—
reset()
public
static reset() : void
Return values
void
—
setInstance()
public
static setInstance(self $instance) : void
Parameters
-
$instance
: self
-
Return values
void
—
stringToLegacy()
public
stringToLegacy(string $string) : int|null
Parameters
-
$string
: string
-
Return values
int|null
—
make()
private
static make() : self
Return values
self
—