Completed
Push — phoneNumberMatcher ( 6b28c4 )
by Joshua
18:40
created

Leniency::STRICT_GROUPING()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
eloc 2
nc 1
nop 0
1
<?php
2
3
namespace libphonenumber;
4
5
use libphonenumber\Leniency\Possible;
6
use libphonenumber\Leniency\StrictGrouping;
7
use libphonenumber\Leniency\Valid;
8
use libphonenumber\Leniency\ExactGrouping;
9
10
class Leniency
11
{
12
    public static function POSSIBLE()
13
    {
14
        return new Possible;
15
    }
16
17
    public static function VALID()
18
    {
19
        return new Valid;
20
    }
21
22
    public static function STRICT_GROUPING()
23
    {
24
        return new StrictGrouping;
25
    }
26
27
    public static function EXACT_GROUPING()
28
    {
29
        return new ExactGrouping;
30
    }
31
}
32