HttpResponseCreated   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 13
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 3 1
1
<?php
2
3
namespace EasyIM\Kernel\Events;
4
5
use Psr\Http\Message\ResponseInterface;
6
7
/**
8
 * Class HttpResponseCreated.
9
 */
10
class HttpResponseCreated
11
{
12
    /**
13
     * @var \Psr\Http\Message\ResponseInterface
14
     */
15
    public $response;
16
17
    /**
18
     * @param \Psr\Http\Message\ResponseInterface $response
19
     */
20 1
    public function __construct(ResponseInterface $response)
21
    {
22 1
        $this->response = $response;
23 1
    }
24
}
25