Token   A
last analyzed

Complexity

Total Complexity 4

Size/Duplication

Total Lines 43
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

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

4 Methods

Rating   Name   Duplication   Size   Complexity  
A getType() 0 4 1
A setType() 0 4 1
A getDefinition() 0 4 1
A setDefinition() 0 4 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