<?php
namespace Solwin\Verticalmenu\Model\Menu\Source;

class Tab implements \Magento\Framework\Option\ArrayInterface
{
    const _NEW = 1;
    const _SAME = 2;


    /**
     * to option array
     *
     * @return array
     */
    public function toOptionArray()
    {
        $options = [
            [
                'value' => self::_NEW,
                'label' => __('New')
            ],
            [
                'value' => self::_SAME,
                'label' => __('Same')
            ],
        ];
        return $options;
    }
}
