RequestSharedData
class RequestSharedData
Constants
| protected CONTEXT_KEY |
The coroutine context key for request-scoped shared view data. |
Methods
static array
all()
Get the shared data for the current request.
Details
at line 20
static array
all()
Get the shared data for the current request.
at line 28
static mixed
scope(array $data, Closure $callback)
Run a callback with additional request-scoped shared data.