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