Passed
Push — master ( 3b7f4e...63066e )
by Pieter
05:16
created

Locale   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A getValidValues() 0 3 1
1
<?php
2
3
namespace W2w\Laravel\Apie\Plugins\IlluminateTranslation\ValueObjects;
4
5
use W2w\Lib\Apie\Interfaces\ValueObjectInterface;
6
use W2w\Lib\Apie\Plugins\ValueObject\ValueObjects\StringEnumTrait;
7
8
class Locale implements ValueObjectInterface
9
{
10
    use StringEnumTrait;
11
12
    /**
13
     * @var string[]
14
     */
15
    public static $locales = [];
16
17
    final public static function getValidValues()
18
    {
19
        return self::$locales;
20
    }
21
}
22