Total Complexity | 2 |
Total Lines | 22 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
16 | trait TDir |
||
17 | { |
||
18 | use TTranslate; |
||
19 | |||
20 | /** |
||
21 | * @param ARecord $record |
||
22 | * @throws MapperException |
||
23 | * @return bool |
||
24 | */ |
||
25 | 24 | protected function isDir(ARecord $record): bool |
|
26 | { |
||
27 | 24 | return IProcessNodes::STORAGE_NODE_KEY === strval($record->__get($this->getTranslation()->getContentKey())); |
|
28 | } |
||
29 | |||
30 | /** |
||
31 | * @param ARecord $entry |
||
32 | * @throws MapperException |
||
33 | * @return int |
||
34 | */ |
||
35 | 2 | protected function getSize(ARecord $entry): int |
|
38 | } |
||
39 | } |
||
40 |