Options   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 11
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 6
c 1
b 0
f 0
dl 0
loc 11
rs 10
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A getCountriesConfigOptions() 0 5 1
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
 * You can find more information about us on https://bitbag.io and write us
7
 * an email on [email protected].
8
 */
9
10
declare(strict_types=1);
11
12
namespace BitBag\SyliusMolliePlugin\Options\Country;
13
14
use BitBag\SyliusMolliePlugin\Entity\MollieGatewayConfigInterface;
15
16
final class Options
17
{
18
    public const ALL_COUNTRIES = 'bitbag_sylius_mollie_plugin.ui.all_countries';
19
20
    public const SELECTED_COUNTRIES = 'bitbag_sylius_mollie_plugin.ui.selected_countries';
21
22
    public static function getCountriesConfigOptions(): array
23
    {
24
        return [
25
            self::ALL_COUNTRIES => MollieGatewayConfigInterface::ALL_COUNTRIES,
26
            self::SELECTED_COUNTRIES => MollieGatewayConfigInterface::SELECTED_COUNTRIES,
27
        ];
28
    }
29
}
30