| Total Complexity | 2 |
| Total Lines | 26 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 8 | class LazyRelation implements LazyLoader |
||
| 9 | { |
||
| 10 | /** |
||
| 11 | * @var EntityInterface |
||
| 12 | */ |
||
| 13 | protected $entity; |
||
| 14 | /** |
||
| 15 | * @var Tracker |
||
| 16 | */ |
||
| 17 | protected $tracker; |
||
| 18 | /** |
||
| 19 | * @var Relation |
||
| 20 | */ |
||
| 21 | protected $relation; |
||
| 22 | |||
| 23 | public function __construct(EntityInterface $entity, Tracker $tracker, Relation $relation) |
||
| 28 | } |
||
| 29 | |||
| 30 | public function load() |
||
| 36 |