<?php
declare(strict_types=1);

namespace PayPo\Payment\Model\Config\Source;

use Magento\Framework\Data\OptionSourceInterface;

/**
 * PayPo product types available in the admin configuration.
 */
class ProductMode implements OptionSourceInterface
{
    /**
     * @return array<int, array{value: string, label: \Magento\Framework\Phrase}>
     */
    public function toOptionArray(): array
    {
        return [
            ['value' => 'CORE', 'label' => __('CORE')],
            ['value' => 'PNX', 'label' => __('PNX')],
        ];
    }
}
