LegacyToStringBidirectionalIdMap
Table of Contents
-
$legacyToString
: array<string|int, string>
-
$stringToLegacy
: array<string|int, int>
-
__construct()
: mixed
-
getLegacyToStringMap()
: array<string|int, string>
-
getStringToLegacyMap()
: array<string|int, int>
-
legacyToString()
: string|null
-
stringToLegacy()
: int|null
$legacyToString
private
array<string|int, string>
$legacyToString
= []
-
phpstan-var
-
$stringToLegacy
private
array<string|int, int>
$stringToLegacy
= []
-
phpstan-var
-
__construct()
public
__construct(string $file) : mixed
Parameters
-
$file
: string
-
Return values
mixed
—
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
—
stringToLegacy()
public
stringToLegacy(string $string) : int|null
Parameters
-
$string
: string
-
Return values
int|null
—