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