Files
esun3d/app/code/Esun/SeventeenTrack/Model/Source/LogDirection.php
T
2026-09-15 10:35:56 +08:00

18 lines
418 B
PHP

<?php
declare(strict_types=1);
namespace Esun\SeventeenTrack\Model\Source;
use Magento\Framework\Data\OptionSourceInterface;
class LogDirection implements OptionSourceInterface
{
public function toOptionArray(): array
{
return [
['value' => 'outbound', 'label' => __('Outbound (Registration)')],
['value' => 'inbound', 'label' => __('Inbound (Webhook)')],
];
}
}