Conditions | 3 |
Paths | 3 |
Total Lines | 12 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php declare(strict_types=1); |
||
74 | public function __resolve() |
||
75 | { |
||
76 | if (is_null($this->orm)) { |
||
77 | return $this->resolved; |
||
78 | } |
||
79 | |||
80 | foreach ($this->orm->getRepository($this->target)->findAll($this->query + $this->where) as $item) { |
||
81 | $this->resolved[] = $item; |
||
82 | } |
||
83 | $this->orm = null; |
||
84 | |||
85 | return $this->resolved; |
||
86 | } |
||
87 | } |