RegionGarbageMap
in package
Table of Contents
- $clean : bool
- $entries : array<string|int, RegionLocationTableEntry>
- __construct() : mixed
- add() : void
- allocate() : RegionLocationTableEntry|null
- buildFromLocationTable() : self
- end() : RegionLocationTableEntry|null
- getArray() : array<string|int, RegionLocationTableEntry>
- remove() : void
Properties
$clean
private
bool
$clean
= false
$entries
private
array<string|int, RegionLocationTableEntry>
$entries
= []
Methods
__construct()
public
__construct(array<string|int, RegionLocationTableEntry> $entries) : mixed
Parameters
- $entries : array<string|int, RegionLocationTableEntry>
Return values
mixed —add()
public
add(RegionLocationTableEntry $entry) : void
Parameters
- $entry : RegionLocationTableEntry
Return values
void —allocate()
public
allocate(int $newSize) : RegionLocationTableEntry|null
Parameters
- $newSize : int
Return values
RegionLocationTableEntry|null —buildFromLocationTable()
public
static buildFromLocationTable(array<string|int, RegionLocationTableEntry>|array<string|int, null> $locationTable) : self
Parameters
- $locationTable : array<string|int, RegionLocationTableEntry>|array<string|int, null>
Return values
self —end()
public
end() : RegionLocationTableEntry|null
Return values
RegionLocationTableEntry|null —getArray()
public
getArray() : array<string|int, RegionLocationTableEntry>
Tags
Return values
array<string|int, RegionLocationTableEntry> —remove()
public
remove(RegionLocationTableEntry $entry) : void
Parameters
- $entry : RegionLocationTableEntry