peek()
Get the most recently pushed context value.
pop()
Removes and returns the top context string from the stack.
toArray()
Get the entire context stack as an array (e.g.
contains(string $context)
Check if this context exists anywhere in the stack.
push(string $context)
Push a context onto the top of the stack.
fromArray(array $stack)
Overwrite the entire context stack from an array of strings.
__construct(HttpRequest $request)
Initialize the context from the request.
Manages a global stack of strings for sharing information about the current execution context...