Token::setDefinition()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
c 0
b 0
f 0
rs 10
cc 1
nc 1
nop 1
1
<?php
2
3
namespace Maketok\DataMigration\Expression\Operation;
4
5
class Token
6
{
7
    /**
8
     * @var string
9
     */
10
    protected $type;
11
    /**
12
     * @var string
13
     */
14
    protected $definition;
15
16
    /**
17
     * @return string
18
     */
19
    public function getType()
20
    {
21
        return $this->type;
22
    }
23
24
    /**
25
     * @param string $type
26
     */
27
    public function setType($type)
28
    {
29
        $this->type = $type;
30
    }
31
32
    /**
33
     * @return string
34
     */
35
    public function getDefinition()
36
    {
37
        return $this->definition;
38
    }
39
40
    /**
41
     * @param string $definition
42
     */
43
    public function setDefinition($definition)
44
    {
45
        $this->definition = $definition;
46
    }
47
}
48