| Total Complexity | 4 |
| Total Lines | 29 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 7 | class WatchedResource |
||
| 8 | { |
||
| 9 | private string $pathname; |
||
| 10 | private int $watchOnChangeFlags; |
||
| 11 | private string $customName; |
||
| 12 | |||
| 13 | 2 | public function __construct( |
|
| 14 | string $pathname, |
||
| 15 | int $watchOnChangeFlags, |
||
| 16 | string $customName |
||
| 17 | ) { |
||
| 18 | 2 | $this->pathname = $pathname; |
|
| 19 | 2 | $this->watchOnChangeFlags = $watchOnChangeFlags; |
|
| 20 | 2 | $this->customName = $customName; |
|
| 21 | } |
||
| 22 | |||
| 23 | 2 | public function getWatchOnChangeFlags(): int |
|
| 26 | } |
||
| 27 | |||
| 28 | 2 | public function getCustomName(): string |
|
| 29 | { |
||
| 30 | 2 | return $this->customName; |
|
| 31 | } |
||
| 32 | |||
| 33 | 2 | public function getPathname(): string |
|
| 36 | } |
||
| 37 | } |