Code Coverage
 
Lines
Branches
Paths
Functions and Methods
Classes and Traits
Total
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
CRAP
100.00% covered (success)
100.00%
1 / 1
PartCollection
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
1
100.00% covered (success)
100.00%
1 / 1
 __construct
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
1
1<?php
2
3namespace App\CollectionManagement\Domain\Model;
4
5use App\CollectionManagement\Domain\Model\External\ExternalPart;
6use App\Shared\Domain\Model\Collection;
7
8/**
9 * @author Wilhelm Zwertvaegher
10 * Collection of objects extending Part
11 * @see Part
12 * @see LocalPart
13 * @see ExternalPart
14 * @extends Collection<BasePart>
15 */
16final class PartCollection extends Collection
17{
18    public function __construct(array $elements = [])
19    {
20        parent::__construct(BasePart::class, $elements);
21    }
22}