<?php

namespace Autogedal\Retragere\Ui\Component\Listing\Column\Status;

use Magento\Framework\Data\OptionSourceInterface;
use Autogedal\Retragere\Model\Retragere;

class Options implements OptionSourceInterface
{
    /**
     * @var array
     */
    protected $options = [
        [
            'value' => Retragere::STATUS_NEW,
            'label' => 'Noua',
        ],
        [
            'value' => Retragere::STATUS_PROCESSING,
            'label' => 'In procesare',
        ],
        [
            'value' => Retragere::STATUS_DONE,
            'label' => 'Finalizata',
        ],
        [
            'value' => Retragere::STATUS_CANCELED,
            'label' => 'Anulata',
        ],
    ];

    /**
     * @return array
     */
    public function toOptionArray()
    {
        return $this->options;
    }
}
