18 lines
418 B
PHP
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)')],
|
|
];
|
|
}
|
|
}
|