Options::getAvailableMealVouchersCategory()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 6
Code Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 4
c 1
b 0
f 0
dl 0
loc 6
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
 * 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