` tag.
*
* The Base URI is taken from the current request.
*
* Examples
* ========
*
* Example::
*
*
*
* Output::
*
*
*
* Depending on your domain.
*/
class BaseViewHelper extends AbstractViewHelper
{
use CompileWithRenderStatic;
/**
* As this ViewHelper renders HTML, the output must not be escaped.
*
* @var bool
*/
protected $escapeOutput = false;
/**
* Render the "Base" tag by outputting $request->getBaseUri()
*
* Note: renders as , because IE6 will else refuse to display
* the page...
*
* @param array $arguments
* @param \Closure $renderChildrenClosure
* @param RenderingContextInterface $renderingContext
*
* @return string "base"-Tag.
*/
public static function renderStatic(array $arguments, \Closure $renderChildrenClosure, RenderingContextInterface $renderingContext)
{
return '';
}
}