protected function renderWrapper()
    {
        $renderedItems = $this->renderItems( $this->items );

        $wrapperOptions  = $this->wrapperOptions;
        $wrapperTag      = ArrayHelper::remove( $wrapperOptions, 'tag', 'div' );
        $renderedWrapper = Html::tag( $wrapperTag, PHP_EOL . $renderedItems . PHP_EOL, $wrapperOptions );

        return PHP_EOL . $renderedWrapper . PHP_EOL;
    }