| Conditions | 2 | 
| Paths | 2 | 
| Total Lines | 11 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Changes | 0 | ||
| 1 | <?php  | 
            ||
| 82 | public function __resolve()  | 
            ||
| 83 |     { | 
            ||
| 84 |         if (!$this->loaded) { | 
            ||
| 85 | $this->loaded = true;  | 
            ||
| 86 | |||
| 87 | // use entity from heap, if has already been loaded in memory otherwise select from repository  | 
            ||
| 88 | $this->entity = $this->getEntityFromHeap() ?? $this->getEntityFromSource();  | 
            ||
| 89 | }  | 
            ||
| 90 | |||
| 91 | return $this->entity;  | 
            ||
| 92 | }  | 
            ||
| 93 | |||
| 114 |