Completed
Pull Request — master (#20)
by Vladimir
02:54
created

ExpandedValue::getIterators()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 2
nc 1
nop 0
dl 0
loc 4
rs 10
c 0
b 0
f 0
1
<?php
2
3
namespace allejo\stakx\FrontMatter;
4
5
class ExpandedValue
6
{
7
    /**
8
     * @var string
9
     */
10
    private $evaluated;
11
12
    /**
13
     * @var string[]
14
     */
15
    private $iterators;
16
17
    public function __construct($string)
18
    {
19
        $this->evaluated = $string;
20
    }
21
22
    public function getEvaluated ()
23
    {
24
        return $this->evaluated;
25
    }
26
27
    public function setEvaluated ($string)
28
    {
29
        $this->evaluated = $string;
30
    }
31
32
    public function getIterators ()
33
    {
34
        return $this->iterators;
35
    }
36
37
    public function setIterator ($key, $value)
38
    {
39
        $this->iterators[$key] = $value;
40
    }
41
}