Block/Sales/Info/CreditCard.php
<?php
/**
* PagBank Payment Magento Module.
*
* Copyright © 2023 PagBank. All rights reserved.
*
* @author Bruno Elisei <brunoelisei@o2ti.com>
* @license See LICENSE for license details.
*/
namespace PagBank\PaymentMagento\Block\Sales\Info;
use Magento\Framework\Phrase;
use Magento\Payment\Block\ConfigurableInfo;
/**
* Class Credit Card - Credit Card payment information.
*/
class CreditCard extends ConfigurableInfo
{
/**
* Returns label.
*
* @param string $field
*
* @return Phrase
*/
protected function getLabel($field)
{
return __($field);
}
}