public function getBlockElementsHtml($block)
    {
        if (empty($block)) {
            return '';
        }

        $blockHtml = '';
        foreach ($block as $element) {
            $blockHtml .= $this->getElementHtml($element) . PHP_EOL;
        }

        return $blockHtml;
    }