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

Filter::getName()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
eloc 2
nc 1
nop 0
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