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

HeaderKeyNotDefined   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 0
dl 0
loc 12
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A new() 0 8 1
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