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

ProcessOutput   A

Complexity

Total Complexity 4

Size/Duplication

Total Lines 26
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 10
c 1
b 0
f 0
dl 0
loc 26
rs 10
wmc 4

4 Methods

Rating   Name   Duplication   Size   Complexity  
A out() 0 3 1
A all() 0 3 1
A __construct() 0 5 1
A errors() 0 3 1
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