Total Complexity | 3 |
Total Lines | 27 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
6 | final class Capabilities implements CapabilitiesInterface |
||
7 | { |
||
8 | |||
9 | private $isDefinite; |
||
10 | |||
11 | private $isPath; |
||
12 | |||
13 | public function __construct(bool $isDefinite, bool $isPath) |
||
14 | { |
||
15 | $this->isDefinite = $isDefinite; |
||
16 | $this->isPath = $isPath; |
||
17 | } |
||
18 | |||
19 | /** |
||
20 | * @return bool |
||
21 | */ |
||
22 | public function isDefinite(): bool |
||
23 | { |
||
24 | return $this->isDefinite; |
||
25 | } |
||
26 | |||
27 | /** |
||
28 | * @return bool |
||
29 | */ |
||
30 | public function isPath(): bool |
||
33 | } |
||
34 | } |
||
35 |