Bolt\Response\BoltResponse::setContext PHP Метод

setContext() публичный Метод

Sets the context variables for this Response.
public setContext ( array $context )
$context array
    public function setContext(array $context)
    {
        if ($this->compiled) {
            throw new \LogicException('Context cannot be changed after the response is compiled');
        }
        $this->context = $context;
    }