httpContext = $httpContext; } /** * @return string */ protected function _toHtml() { if ($this->httpContext->getValue(Context::CONTEXT_AUTH)) { return ''; } return parent::_toHtml(); } }