Code Coverage |
||||||||||||||||
Lines |
Branches |
Paths |
Functions and Methods |
Classes and Traits |
||||||||||||
| Total | n/a |
0 / 0 |
n/a |
0 / 0 |
n/a |
0 / 0 |
n/a |
0 / 0 |
CRAP | n/a |
0 / 0 |
|||||
| 1 | <?php |
| 2 | |
| 3 | namespace App\CollectionManagement\Domain\Service; |
| 4 | |
| 5 | use App\CollectionManagement\Domain\Model\External\ExternalElementCollection; |
| 6 | use App\CollectionManagement\Domain\Model\External\ExternalSetElementCollection; |
| 7 | use App\CollectionManagement\Domain\Model\PartCollection; |
| 8 | use App\CollectionManagement\Domain\Model\SetCollection; |
| 9 | |
| 10 | interface LegoDataLoader |
| 11 | { |
| 12 | /** |
| 13 | * Find sets for a given search string |
| 14 | * @param string $search |
| 15 | * @return SetCollection|null |
| 16 | */ |
| 17 | public function findSets(string $search): ?SetCollection; |
| 18 | |
| 19 | /** |
| 20 | * Find parts for a given search string |
| 21 | * @param string $search |
| 22 | * @return PartCollection|null |
| 23 | */ |
| 24 | public function findParts(string $search): ?PartCollection; |
| 25 | |
| 26 | /** |
| 27 | * Retrieve a part list for a given set |
| 28 | * @param string $setExternalId |
| 29 | * @return ExternalSetElementCollection|null |
| 30 | */ |
| 31 | public function getSetParts(string $setExternalId): ?ExternalSetElementCollection; |
| 32 | |
| 33 | public function getPartElements(string $partExternalId): ?ExternalElementCollection; |
| 34 | |
| 35 | public function getSetElements(string $setExternalId): ?ExternalSetElementCollection; |
| 36 | } |
Below are the source code lines that represent each code path as identified by Xdebug. Please note a path is not
necessarily coterminous with a line, a line may contain multiple paths and therefore show up more than once.
Please also be aware that some paths may include implicit rather than explicit branches, e.g. an if statement
always has an else as part of its logical flow even if you didn't write one.
| 3 | namespace App\CollectionManagement\Domain\Service; |
| 4 | |
| 5 | use App\CollectionManagement\Domain\Model\External\ExternalElementCollection; |
| 6 | use App\CollectionManagement\Domain\Model\External\ExternalSetElementCollection; |
| 7 | use App\CollectionManagement\Domain\Model\PartCollection; |
| 8 | use App\CollectionManagement\Domain\Model\SetCollection; |
| 9 | |
| 10 | interface LegoDataLoader |
| 11 | { |
| 12 | /** |
| 13 | * Find sets for a given search string |
| 14 | * @param string $search |
| 15 | * @return SetCollection|null |
| 16 | */ |
| 17 | public function findSets(string $search): ?SetCollection; |
| 18 | |
| 19 | /** |
| 20 | * Find parts for a given search string |
| 21 | * @param string $search |
| 22 | * @return PartCollection|null |
| 23 | */ |
| 24 | public function findParts(string $search): ?PartCollection; |
| 25 | |
| 26 | /** |
| 27 | * Retrieve a part list for a given set |
| 28 | * @param string $setExternalId |
| 29 | * @return ExternalSetElementCollection|null |
| 30 | */ |
| 31 | public function getSetParts(string $setExternalId): ?ExternalSetElementCollection; |
| 32 | |
| 33 | public function getPartElements(string $partExternalId): ?ExternalElementCollection; |
| 34 | |
| 35 | public function getSetElements(string $setExternalId): ?ExternalSetElementCollection; |