Completed
Push — master ( 0d1096...abc53f )
by Brad
9s
created

HeaderKeyNotDefined::new()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 8
Code Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 8
rs 9.4285
c 0
b 0
f 0
cc 1
eloc 4
nc 1
nop 0
1
<?php
2
3
namespace Transitions;
4
5
use LogicException;
6
7
class HeaderKeyNotDefined extends LogicException
8
{
9
10
    public static function new()
11
    {
12
13
        return new static(
14
            'A header key must be set in the transitions.php ' .
15
            'config file to identify a request version.'
16
        );
17
    }
18
}
19