| Total Complexity | 3 |
| Total Lines | 25 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 7 | class Collector implements CollectorInterface |
||
| 8 | { |
||
| 9 | /** |
||
| 10 | * @var AssociationCollectingStrategyInterface |
||
| 11 | */ |
||
| 12 | protected $associationCollectingStrategy; |
||
| 13 | |||
| 14 | /** |
||
| 15 | * @param AssociationCollectingStrategyInterface $associationCollectingStrategy |
||
| 16 | */ |
||
| 17 | public function __construct(AssociationCollectingStrategyInterface $associationCollectingStrategy) |
||
| 20 | } |
||
| 21 | |||
| 22 | /** |
||
| 23 | * {@inheritdoc} |
||
| 24 | */ |
||
| 25 | public function collect(array $objects, array $associationPath): array |
||
| 34 |