Documentation

NullArrayBasedLazyMap
in package

Simple classical array-based map - used to simulate the overhead of a classical array-based solution

Tags
author

Marco Pivetta ocramius@gmail.com

Table of Contents

$items  : array<string|int, mixed>
get()  : mixed
Lazy getter - retrieves or instantiates a key in the map
instantiate()  : mixed
Null instantiator, emulates same overhead of an {@see \LazyMapTestAsset\NullLazyMap}

Properties

Methods

get()

Lazy getter - retrieves or instantiates a key in the map

public get(string $name) : mixed
Parameters
$name : string
Return values
mixed

instantiate()

Null instantiator, emulates same overhead of an {@see \LazyMapTestAsset\NullLazyMap}

protected instantiate(mixed $name) : mixed
Parameters
$name : mixed
Return values
mixed

Search results