Completed
Push — config-reader ( 6b41c3 )
by
unknown
03:29
created

Filter   A

Complexity

Total Complexity 4

Size/Duplication

Total Lines 44
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 0
Metric Value
wmc 4
lcom 0
cbo 0
dl 0
loc 44
rs 10
c 0
b 0
f 0

4 Methods

Rating   Name   Duplication   Size   Complexity  
A getName() 0 4 1
A setName() 0 4 1
A getOptions() 0 4 1
A setOptions() 0 4 1
1
<?php
2
/**
3
 * This file is part of the `liip/LiipImagineBundle` project.
4
 *
5
 * (c) https://github.com/liip/LiipImagineBundle/graphs/contributors
6
 *
7
 * For the full copyright and license information, please view the LICENSE.md
8
 * file that was distributed with this source code.
9
 */
10
11
namespace Liip\ImagineBundle\Config;
12
13
final class Filter implements FilterInterface
14
{
15
    /**
16
     * @var string
17
     */
18
    private $name;
19
20
    /**
21
     * @var array
22
     */
23
    private $options = [];
24
25
    /**
26
     * @return string
27
     */
28
    public function getName(): string
29
    {
30
        return $this->name;
31
    }
32
33
    /**
34
     * @param string $name
35
     */
36
    public function setName(string $name): void
37
    {
38
        $this->name = $name;
39
    }
40
41
    /**
42
     * @return array
43
     */
44
    public function getOptions(): array
45
    {
46
        return $this->options;
47
    }
48
49
    /**
50
     * @param array $options
51
     */
52
    public function setOptions(array $options): void
53
    {
54
        $this->options = $options;
55
    }
56
}
57