PHP code example of siteation / magento2-hyva-icons-payment
1. Go to this page and download the library: Download siteation/magento2-hyva-icons-payment library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
siteation / magento2-hyva-icons-payment example snippets
use Hyva\Theme\Model\ViewModelRegistry;
use Siteation\HyvaIconsPayment\ViewModel\PaymentIcons;
/** @var ViewModelRegistry $viewModels */
/** @var PaymentIcons $paymentIcons */
$paymentIcons = $viewModels->
<?= $paymentIcons->idealHtml('p-1', 64, 48, ["aria-label" => "Pay with iDeal"])