Completed
Push — 1.x ( f091f0...81f5a7 )
by Akihito
20s
created

Output::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 1
Metric Value
cc 1
eloc 3
c 1
b 0
f 1
nc 1
nop 3
dl 0
loc 5
rs 10
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
    public function __construct(int $code, array $headers, string $view)
12
    {
13
        $this->code = $code;
14
        $this->headers = $headers;
15
        $this->view = $view;
16
    }
17
}
18