Table of Contents
-
$biomes
: array<string|int, Biome>|SplFixedArray
-
$instance
: self|null
-
__construct()
: mixed
-
getBiome()
: Biome
-
getInstance()
: self
-
register()
: void
-
reset()
: void
-
setInstance()
: void
-
make()
: self
$biomes
private
array<string|int, Biome>|SplFixedArray
$biomes
-
phpstan-var
-
$instance
private
static self|null
$instance
= null
__construct()
public
__construct() : mixed
Return values
mixed
—
getBiome()
public
getBiome(int $id) : Biome
Parameters
-
$id
: int
-
Return values
Biome
—
getInstance()
public
static getInstance() : self
Return values
self
—
register()
public
register(int $id, Biome $biome) : void
Parameters
-
$id
: int
-
-
$biome
: Biome
-
Return values
void
—
reset()
public
static reset() : void
Return values
void
—
setInstance()
public
static setInstance(self $instance) : void
Parameters
-
$instance
: self
-
Return values
void
—
make()
private
static make() : self
Return values
self
—