Result::getContainer()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 1
Bugs 0 Features 0
Metric Value
c 1
b 0
f 0
dl 0
loc 4
ccs 0
cts 2
cp 0
rs 10
cc 1
eloc 2
nc 1
nop 0
crap 2
1
<?php
2
3
namespace SvImages\Parser;
4
5
use SvImages\Transformer\TransformerInterface;
6
7
/**
8
 * @author Vytautas Stankus <[email protected]>
9
 * @license MIT
10
 */
11
class Result
12
{
13
    /**
14
     * @var string
15
     */
16
    protected $container;
17
18
    /**
19
     * @var string
20
     */
21
    protected $filePath;
22
23
    /**
24
     * @var string
25
     */
26
    protected $uriPath;
27
28
    /**
29
     * @var TransformerInterface[]
30
     */
31
    protected $transformers = [];
32
33
    /**
34
     * @var array
35
     */
36
    protected $routeOptions = [];
37
38
    /**
39
     * @return string
40
     */
41
    public function getContainer()
42
    {
43
        return $this->container;
44
    }
45
46
    /**
47
     * @param string $container
48
     */
49 2
    public function setContainer($container)
50
    {
51 2
        $this->container = $container;
52 2
    }
53
54
    /**
55
     * @return string
56
     */
57
    public function getFilePath()
58
    {
59
        return $this->filePath;
60
    }
61
62
    /**
63
     * @param string $filePath
64
     */
65 2
    public function setFilePath($filePath)
66
    {
67 2
        $this->filePath = $filePath;
68 2
    }
69
70
    /**
71
     * @return TransformerInterface[]
72
     */
73
    public function getTransformers()
74
    {
75
        return $this->transformers;
76
    }
77
78
    /**
79
     * @param TransformerInterface[] $transformers
80
     */
81 1
    public function setTransformers(array $transformers)
82
    {
83 1
        $this->transformers = $transformers;
84 1
    }
85
86
    /**
87
     * @return string
88
     */
89
    public function getUriPath()
90
    {
91
        return $this->uriPath;
92
    }
93
94
    /**
95
     * @param string $uriPath
96
     */
97 2
    public function setUriPath($uriPath)
98
    {
99 2
        $this->uriPath = $uriPath;
100 2
    }
101
102
    /**
103
     * @return array
104
     */
105
    public function getRouteOptions()
106
    {
107
        return $this->routeOptions;
108
    }
109
110
    /**
111
     * @param array $routeOptions
112
     */
113 3
    public function setRouteOptions(array $routeOptions)
114
    {
115 3
        $this->routeOptions = $routeOptions;
116 3
    }
117
}
118