Spamworldpro Mini Shell
Spamworldpro


Server : Apache
System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64
User : corals ( 1002)
PHP Version : 7.4.33
Disable Function : exec,passthru,shell_exec,system
Directory :  /home/corals/old/vendor/mageworx/module-seobase/Model/Source/Hreflangs/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/corals/old/vendor/mageworx/module-seobase/Model/Source/Hreflangs/CountryCode.php
<?php
/**
 * Copyright © MageWorx. All rights reserved.
 * See LICENSE.txt for license details.
 */

declare(strict_types=1);

namespace MageWorx\SeoBase\Model\Source\Hreflangs;

use MageWorx\SeoBase\Model\Source\Country;

class CountryCode extends Country
{
    const DO_NOT_ADD = 'do_not_add';
    const USE_CONFIG = 'use_config';

    /**
     * @return array
     */
    public function toOptionArray()
    {
        $options = [
            ['value' => self::USE_CONFIG, 'label' => 'Use config'],
            ['value' => self::DO_NOT_ADD, 'label' => 'Do not add']
        ];

        return array_merge($options, parent::toOptionArray());
    }
}

Spamworldpro Mini