1 | <?php |
||
11 | class ConsignmentServiceCollection |
||
12 | { |
||
13 | /** |
||
14 | * @var ConsignmentServiceInterface[] |
||
15 | */ |
||
16 | protected $consignmentServices; |
||
17 | |||
18 | 3 | public function __construct() |
|
22 | |||
23 | public function addConsignmentService(ConsignmentServiceInterface $consignmentService): void |
||
28 | |||
29 | /** |
||
30 | * @param ManufacturerInterface $manufacturer |
||
31 | * |
||
32 | * @return ConsignmentServiceInterface |
||
33 | * |
||
34 | * @throws NonExistentConsignmentServiceException |
||
35 | */ |
||
36 | public function findConsignmentService(ManufacturerInterface $manufacturer): ConsignmentServiceInterface |
||
51 | } |
||
52 |