Options   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 14
Duplicated Lines 0 %

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A getAvailableMealVouchersCategory() 0 6 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\MealVouchers;
13
14
final class Options
15
{
16
    public const MEAL = 'meal';
17
18
    public const ECO = 'eco';
19
20
    public const GIFT = 'gift';
21
22
    public static function getAvailableMealVouchersCategory(): array
23
    {
24
        return [
25
            self::MEAL => self::MEAL,
26
            self::ECO => self::ECO,
27
            self::GIFT => self::GIFT,
28
        ];
29
    }
30
}
31