Completed
Push — master ( 82cd1d...312098 )
by Nikolas
163:59 queued 138:22
created

BreadCrumb::getTarget()   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
namespace rtens\domin\delivery\web;
3
4
class BreadCrumb {
5
6
    /** @var string */
7
    private $target;
8
9
    /** @var string */
10
    private $caption;
11
12
    /**
13
     * @param string $caption
14
     * @param string $target
15
     */
16
    public function __construct($caption, $target) {
17
        $this->caption = $caption;
18
        $this->target = $target;
19
    }
20
21
    /**
22
     * @return string
23
     */
24
    public function getCaption() {
25
        return $this->caption;
26
    }
27
28
    /**
29
     * @return string
30
     */
31
    public function getTarget() {
32
        return $this->target;
33
    }
34
}