ShipOrdersBasedOnTruckDepartCommand
extends ContainerAwareCommand
Table of Contents
Properties
-
$shipmentService
: ShipmentService
-
$virService
: VirService|null
Methods
-
__construct()
: mixed
-
countParcelsPerSaleProduct()
: array<string|int, mixed>
-
configure()
: void
-
execute()
: int
-
calculateTotalNumberOfPackages()
: int
-
markShippedSaleProducts()
: void
__construct()
public
__construct([mixed $name = null ][, VirService $virService = null ], ShipmentService $shipmentService) : mixed
Parameters
-
$name
: mixed
= null
-
-
$virService
: VirService
= null
-
-
$shipmentService
: ShipmentService
-
countParcelsPerSaleProduct()
public
countParcelsPerSaleProduct(array<string|int, mixed> $list) : array<string|int, mixed>
Parameters
-
$list
: array<string|int, mixed>
-
Return values
array<string|int, mixed>
protected
configure() : void
execute()
protected
execute(InputInterface $input, OutputInterface $output) : int
Parameters
-
$input
: InputInterface
-
-
$output
: OutputInterface
-
calculateTotalNumberOfPackages()
private
calculateTotalNumberOfPackages(SaleProduct $saleProduct) : int
Parameters
-
$saleProduct
: SaleProduct
-
markShippedSaleProducts()
private
markShippedSaleProducts(array<string|int, mixed> $results) : void
Parameters
-
$results
: array<string|int, mixed>
-
-
throws
-
GuzzleException