<?php

namespace FiloBlu\Refilo\Block\Adminhtml\Option;

use Magento\Framework\Data\OptionSourceInterface;

class OrderSelectionStrategy implements OptionSourceInterface
{

    /**
     * @return array[]
     */
    public function toOptionArray()
    {
        return [
            [
                'value' => 'all',
                'label' => 'All orders made by the customer'
            ],
            [
                'value' => '1_hour',
                'label' => 'Orders within 1 hour'
            ],
            [
                'value' => '2_hours',
                'label' => 'Orders within 2 hours'
            ],
            [
                'value' => '3_hours',
                'label' => 'Orders within 3 hours'
            ],
            [
                'value' => '4_hours',
                'label' => 'Orders within 4 hours'
            ],
            [
                'value' => '5_hours',
                'label' => 'Orders within 5 hours'
            ]
        ];
    }
}
