Completed
Push — rework ( d09de3...810325 )
by Markus
03:02
created

NotFoundHandler::handle()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 6
Code Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 4
c 0
b 0
f 0
nc 1
nop 0
dl 0
loc 6
rs 9.4285
1
<?php
2
3
namespace SSpkS\Handler;
4
5
class NotFoundHandler implements HandlerInterface
6
{
7
8
    public function __construct(\SSpkS\Config $config)
9
    {
10
    }
11
12
    public function handle()
13
    {
14
        header('Content-type: text/html');
15
        header('HTTP/1.1 404 Not Found');
16
        header('Status: 404 Not Found');
17
    }
18
}
19