<?php /** * * SM Listing Tabs - Version 2.5.0 * Copyright (c) 2017 YouTech Company. All Rights Reserved. * @license - Copyrighted Commercial Software * Author: YouTech Company * Websites: http://www.magentech.com */ namespace Sm\ListingTabs\Model\Config\Source; class OrderDirection implements \Magento\Framework\Option\ArrayInterface { public function toOptionArray() { return [ ['value'=>'ASC', 'label'=>__('Asc')], ['value'=>'DESC', 'label'=>__('Desc')] ]; } }