Passed
Pull Request — master (#262)
by Pascal
02:52
created

ProcessOutput::__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 0
Metric Value
cc 1
eloc 3
c 1
b 0
f 0
nc 1
nop 3
dl 0
loc 5
rs 10
1
<?php
2
3
namespace ProtoneMedia\LaravelFFMpeg\Support;
4
5
class ProcessOutput
6
{
7
    private $all;
8
    private $errors;
9
    private $out;
10
11
    public function __construct(array $all, array $errors, array $out)
12
    {
13
        $this->all    = $all;
14
        $this->errors = $errors;
15
        $this->out    = $out;
16
    }
17
18
    public function all(): array
19
    {
20
        return $this->all;
21
    }
22
23
    public function errors(): array
24
    {
25
        return $this->errors;
26
    }
27
28
    public function out(): array
29
    {
30
        return $this->out;
31
    }
32
}
33