| Total Complexity | 2 |
| Total Lines | 26 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 9 | class LazyAggregate implements LazyLoader |
||
| 10 | { |
||
| 11 | /** |
||
| 12 | * @var EntityInterface |
||
| 13 | */ |
||
| 14 | protected $entity; |
||
| 15 | /** |
||
| 16 | * @var Tracker |
||
| 17 | */ |
||
| 18 | protected $tracker; |
||
| 19 | /** |
||
| 20 | * @var Aggregate |
||
| 21 | */ |
||
| 22 | protected $aggregate; |
||
| 23 | |||
| 24 | public function __construct(EntityInterface $entity, Tracker $tracker, Aggregate $aggregate) |
||
| 25 | { |
||
| 26 | $this->entity = $entity; |
||
| 27 | $this->tracker = $tracker; |
||
| 28 | $this->aggregate = $aggregate; |
||
| 29 | } |
||
| 30 | |||
| 31 | public function load() |
||
| 35 | } |
||
| 36 | } |
||
| 37 |