Total Complexity | 3 |
Total Lines | 18 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php |
||
10 | trait HasDataTrait |
||
11 | { |
||
12 | /** |
||
13 | * Determine whether the presentation model already holds data. |
||
14 | * |
||
15 | * @param PresentationModel $presentationModel The presentation model for which to determine whether it holds data. |
||
16 | * |
||
17 | * @return bool Whether the presentation model already holds data. |
||
18 | */ |
||
19 | 4 | private function hasData(PresentationModel $presentationModel): bool |
|
30 |