| Total Complexity | 7 |
| Total Lines | 35 |
| Duplicated Lines | 0 % |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 11 | trait EagerLoaderMultiAccessor { |
||
| 12 | public function __call($method, $arguments) |
||
| 20 | } |
||
| 21 | |||
| 22 | public $_eagerLoadingCache = []; |
||
| 23 | |||
| 24 | public function addEagerRelation($relationName, $content) |
||
| 30 | } |
||
| 31 | |||
| 32 | /** |
||
| 33 | * must be called from |
||
| 34 | * |
||
| 35 | * @param string $method |
||
| 36 | * @param array $arguments |
||
| 37 | * @return Object|void Void when nothing found |
||
| 38 | */ |
||
| 39 | public function tryEagerLoadingRelation($method) |
||
| 48 |