Terminator   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 8
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

Changes 3
Bugs 0 Features 0
Metric Value
eloc 2
c 3
b 0
f 0
dl 0
loc 8
ccs 2
cts 2
cp 1
rs 10
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A respondWith() 0 3 1
1
<?php
2
3
namespace ImanGhafoori\Terminator;
4
5
use Illuminate\Http\Exceptions\HttpResponseException;
6
7
class Terminator
8
{
9
    /**
10
     * @param  $response
11
     */
12 3
    public function respondWith($response)
13
    {
14 3
        throw new HttpResponseException($response);
15
    }
16
}
17