CallbackLazyMap
extends AbstractLazyMap
in package
Tags
Table of Contents
- __construct() : mixed
- __get() : mixed
- Magic PHP getter {@link http://www.php.net/manual/en/language.oop5.overloading.php#object.get}
- instantiate() : mixed
- Instantiate a particular key by the given name
Methods
__construct()
public
__construct(callable $callback) : mixed
Parameters
- $callback : callable
Return values
mixed —__get()
Magic PHP getter {@link http://www.php.net/manual/en/language.oop5.overloading.php#object.get}
public
__get(string $name) : mixed
Parameters
- $name : string
Return values
mixed —reference
instantiate()
Instantiate a particular key by the given name
protected
instantiate(mixed $name) : mixed
Parameters
- $name : mixed