Completed
Pull Request — master (#49)
by
unknown
06:22
created

Options::getCountriesConfigOptions()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 3
c 1
b 0
f 0
dl 0
loc 5
rs 10
cc 1
nc 1
nop 0
1
<?php
2
3
/*
4
 * This file has been created by developers from BitBag.
5
 * Feel free to contact us once you face any issues or want to start
6
 * another great project.
7
 * You can find more information about us on https://bitbag.shop and write us
8
 * an email on [email protected].
9
 */
10
11
declare(strict_types=1);
12
13
namespace BitBag\SyliusMolliePlugin\Options\Country;
14
15
use BitBag\SyliusMolliePlugin\Entity\MollieGatewayConfigInterface;
16
17
final class Options
18
{
19
    const ALL_COUNTRIES = 'bitbag_sylius_mollie_plugin.ui.all_countries';
20
    const SELECTED_COUNTRIES = 'bitbag_sylius_mollie_plugin.ui.selected_countries';
21
22
    public static function getCountriesConfigOptions()
23
    {
24
        return [
25
            self::ALL_COUNTRIES => MollieGatewayConfigInterface::ALL_COUNTRIES,
26
            self::SELECTED_COUNTRIES => MollieGatewayConfigInterface::SELECTED_COUNTRIES,
27
        ];
28
    }
29
}
30