Completed
Push — master ( 7636fd...c124a1 )
by David
13s
created

MissingEnvironmentVariableException   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 5
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
dl 0
loc 5
rs 10
c 0
b 0
f 0
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A missingEnv() 0 3 1
1
<?php
2
namespace TheAentMachine\Exception;
3
4
class MissingEnvironmentVariableException extends AenthillException
5
{
6
    public static function missingEnv(string $variableName): self
7
    {
8
        return new self("Missing environement variable '$variableName'");
9
    }
10
}
11