public static function render($view, array $context = [], $type = null)
    {
        $viewBuilder = static::getViewBuilder();
        $viewObject  = $viewBuilder->create($view, $type);

        return $viewObject->render($context);
    }