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

NotFoundHandler::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 1
c 0
b 0
f 0
nc 1
nop 1
dl 0
loc 3
rs 10
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