Passed
Pull Request — master (#262)
by Pascal
06:26 queued 10s
created

HasInputOptions   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 17
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 5
c 0
b 0
f 0
dl 0
loc 17
rs 10
wmc 2

2 Methods

Rating   Name   Duplication   Size   Complexity  
A getInputOptions() 0 3 1
A setInputOptions() 0 5 1
1
<?php
2
3
namespace ProtoneMedia\LaravelFFMpeg\Filesystem;
4
5
trait HasInputOptions
6
{
7
    /**
8
     * @var array
9
     */
10
    protected $inputOptions = [];
11
12
    public function getInputOptions(): array
13
    {
14
        return $this->inputOptions;
15
    }
16
17
    public function setInputOptions(array $options = []): self
18
    {
19
        $this->inputOptions = $options;
20
21
        return $this;
22
    }
23
}
24