Output   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 9
Duplicated Lines 0 %

Importance

Changes 3
Bugs 1 Features 1
Metric Value
eloc 5
c 3
b 1
f 1
dl 0
loc 9
rs 10
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 6 1
1
<?php
2
3
declare(strict_types=1);
4
5
namespace BEAR\Sunday\Provide\Transfer;
6
7
use BEAR\Resource\ResourceObject;
8
9
final class Output extends ResourceObject
10
{
11
    /** @param array<string, string> $headers */
12
    public function __construct(int $code, array $headers, string $view)
13
    {
14
        $this->code = $code;
15
        $this->headers = $headers;
16
        $this->view = $view;
17
        $this->body = [];
18
    }
19
}
20