Completed
Push — master ( e41e91...2b4213 )
by Aleh
01:47 queued 01:39
created

Entry::getMenu()   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\Completion;
4
5
class Entry {
6
    private $name;
7
    private $signature;
8
    private $desc;
9
    private $menu;
10
    public function __construct($name, $signature = "", $desc = "", $menu = "") {
11
        $this->name             = $name;
12
        $this->signature        = $signature;
13
        $this->desc             = $desc;
14
        $this->menu             = $menu;
15
    }
16
    public function getName() {
17
        return $this->name;
18
    }
19
    public function getSignature() {
20
        return $this->signature;
21
    }
22
    public function getDesc() {
23
        return $this->desc;
24
    }
25
    public function getMenu() {
26
        return $this->menu;
27
    }
28
}
29