[ 'paymentSecurity' => $this->renderCmsBlock(self::PAYMENT_BLOCK), 'deliveryShipping' => $this->renderCmsBlock(self::DELIVERY_BLOCK) ] ]; } private function renderCmsBlock(string $identifier): string { return $this->layout->createBlock(CmsBlock::class) ->setBlockId($identifier) ->toHtml(); } }