Each request has its own mutable local storage to which application
callables and middleware may read and write data. Other callables
which are aware of this data can then access it without the server
being tightly coupled to specific implementations.
public getLocalVar ( string $key ) : mixed | ||
$key | string | |
return | mixed |