Completed
Pull Request — master (#35)
by Aleh
03:05
created

Variable::getType()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
c 1
b 0
f 0
dl 0
loc 3
rs 10
cc 1
eloc 2
nc 1
nop 0
1
<?php
2
3
namespace Padawan\Domain\Project\Node;
4
5
class Variable {
6
    public function __construct($name) {
7
        $this->name = $name;
8
    }
9
    public function getName() {
10
        return $this->name;
11
    }
12
    public function getFQCN() {
13
        return $this->fqcn;
14
    }
15
    public function setFQCN($fqcn) {
16
        $this->fqcn = $fqcn;
17
    }
18
    public function setType($fqcn) {
19
        $this->setFQCN($fqcn);
20
    }
21
    public function getType() {
22
        return $this->getFQCN();
23
    }
24
    private $name;
25
    private $fqcn;
26
}
27