<?php

namespace Benhauer\Salesmanago\Model\Config\Source;

use \Benhauer\Salesmanago\Exception\SalesManagoException;
use \Benhauer\Salesmanago\Exception\UserAccessException;
use \Benhauer\Salesmanago\Model\User as UserModel;

use \SALESmanago\Factories\FactoryOrganizer;
use \SALESmanago\Provider\UserProvider;

class SelectCronJobFrequency implements \Magento\Framework\Option\ArrayInterface
{
    public $factoryOrganizer;
    public $model;

    public function __construct(
        FactoryOrganizer $factoryOrganizer,
        UserModel $model
    ) {
        $this->factoryOrganizer = $factoryOrganizer;
        $this->model = $model;
    }

    /**
     * @return array
     */
    public function toOptionArray()
    {
        $answer = [
            ['value' => 1, 'label' => '1'],
            ['value' => 2, 'label' => '2'],
            ['value' => 3, 'label' => '3'],
            ['value' => 4, 'label' => '4'],
            ['value' => 6, 'label' => '6'],
            ['value' => 10, 'label' => '10'],
            ['value' => 15, 'label' => '15'],
            ['value' => 24, 'label' => '24'],
            ['value' => 32, 'label' => '32'],
            ['value' => 48, 'label' => '48']
        ];

        return $answer;
    }
}
