Total Complexity | 3 |
Total Lines | 32 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
14 | class Breadcrumb |
||
15 | { |
||
16 | /** |
||
17 | * @var string |
||
18 | */ |
||
19 | private $path; |
||
20 | |||
21 | /** |
||
22 | * @var string |
||
23 | */ |
||
24 | private $name; |
||
25 | |||
26 | /** |
||
27 | * Breadcrumb constructor. |
||
28 | * |
||
29 | * @param string $path |
||
30 | * @param string $name |
||
31 | */ |
||
32 | public function __construct($path, $name) |
||
36 | } |
||
37 | |||
38 | public function getPath(): string |
||
39 | { |
||
40 | return $this->path; |
||
41 | } |
||
42 | |||
43 | public function getName(): string |
||
46 | } |
||
47 | } |
||
48 |