MissingTemplateException   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 4
Duplicated Lines 0 %

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A missingFile() 0 2 1
1
<?php
2
declare(strict_types = 1);
3
4
namespace Phauthentic\Presentation\Renderer\Exception;
5
6
/**
7
 * Missing Template Exception
8
 */
9
class MissingTemplateException extends RendererException
10
{
11
    public static function missingFile(string $file ) {
0 ignored issues
show
Coding Style introduced by
Expected 0 spaces before closing parenthesis; 1 found
Loading history...
12
        return new self('Template file missing: ' . $file);
13
    }
14
}
15