Node::getUser()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
eloc 1
c 1
b 0
f 0
nc 1
nop 0
dl 0
loc 3
rs 10
1
<?php
2
3
namespace Pfilsx\FormLayer\Tests\app\Entity;
4
5
class Node
6
{
7
    protected $id;
8
    protected $user;
9
    protected $content;
10
    protected $createdAt;
11
    protected $parentId;
12
    protected $subNodeList;
13
    protected $mainNode;
14
15
    public function setContent($content)
16
    {
17
        $this->content = $content;
18
        return $this;
19
    }
20
21
    public function getContent()
22
    {
23
        return $this->content;
24
    }
25
26
    public function setCreatedAt($createdAt)
27
    {
28
        $this->createdAt = $createdAt;
29
        return $this;
30
    }
31
32
    public function getCreatedAt()
33
    {
34
        return $this->createdAt;
35
    }
36
37
    public function setId($id)
38
    {
39
        $this->id = $id;
40
        return $this;
41
    }
42
43
    public function getId()
44
    {
45
        return $this->id;
46
    }
47
48
    public function setParentId($parentId)
49
    {
50
        $this->parentId = $parentId;
51
        return $this;
52
    }
53
54
    public function getParentId()
55
    {
56
        return $this->parentId;
57
    }
58
59
    public function setUser($user)
60
    {
61
        $this->user = $user;
62
        return $this;
63
    }
64
65
    public function getUser()
66
    {
67
        return $this->user;
68
    }
69
70
    public function setMainNode($mainNode)
71
    {
72
        $this->mainNode = $mainNode;
73
        return $this;
74
    }
75
76
    public function getMainNode()
77
    {
78
        return $this->mainNode;
79
    }
80
81
    public function setSubNodeList($subNodeList)
82
    {
83
        $this->subNodeList = $subNodeList;
84
        return $this;
85
    }
86
87
    public function getSubNodeList()
88
    {
89
        return $this->subNodeList;
90
    }
91
}
92