<?php
/**
 * Webkul Software.
 *
 * @category  Webkul
 * @package   Webkul_AdvanceSeoManager
 * @author    Webkul
 * @copyright Copyright (c) Webkul Software Private Limited (https://webkul.com)
 * @license   https://store.webkul.com/license.html
 */

namespace Webkul\AdvanceSeoManager\Model\Config\Source;

class DefaultRobots implements \Magento\Framework\Option\ArrayInterface
{

    /**
     * @return array
     */
    public function toOptionArray()
    {
        $recurringTypes = [
            'INDEX,FOLLOW' => 'INDEX,FOLLOW',
            'NOINDEX,FOLLOW' => 'NOINDEX,FOLLOW',
            'INDEX,NOFOLLOW' => 'INDEX,NOFOLLOW',
            'NOINDEX,NOFOLLOW' => 'NOINDEX,NOFOLLOW'
        ];

        foreach ($recurringTypes as $code => $label) {
            $options[] = ['value' => $code, 'label' => $label];
        }
        return $options;
    }
}
