CleanupShipmentTrackingsCommand
extends Command
uses
LockableTrait
Table of Contents
Properties
-
$entityManager
: EntityManagerInterface
Methods
-
__construct()
: mixed
-
configure()
: void
-
execute()
: int
-
buildHasTrackLinksCase()
: string
-
createAffectedShipmentsTable()
: void
-
createDuplicateEntriesTable()
: int
-
createDuplicateTrackingIdsTable()
: int
-
createTrackingKeepersTable()
: int
-
deleteDuplicateTrackings()
: int
-
deleteEmptyShipments()
: int
-
deleteEmptyTrackings()
: int
-
dropTemporaryTables()
: void
$entityManager
private
EntityManagerInterface
$entityManager
__construct()
public
__construct(EntityManagerInterface $entityManager) : mixed
Parameters
-
$entityManager
: EntityManagerInterface
-
protected
configure() : void
execute()
protected
execute(InputInterface $input, OutputInterface $output) : int
Parameters
-
$input
: InputInterface
-
-
$output
: OutputInterface
-
buildHasTrackLinksCase()
private
buildHasTrackLinksCase(string $column) : string
Parameters
-
$column
: string
-
createAffectedShipmentsTable()
private
createAffectedShipmentsTable(mixed $connection) : void
Parameters
-
$connection
: mixed
-
createDuplicateEntriesTable()
private
createDuplicateEntriesTable(mixed $connection) : int
Parameters
-
$connection
: mixed
-
createDuplicateTrackingIdsTable()
private
createDuplicateTrackingIdsTable(mixed $connection) : int
Parameters
-
$connection
: mixed
-
createTrackingKeepersTable()
private
createTrackingKeepersTable(mixed $connection) : int
Parameters
-
$connection
: mixed
-
deleteDuplicateTrackings()
private
deleteDuplicateTrackings(mixed $connection) : int
Parameters
-
$connection
: mixed
-
deleteEmptyShipments()
private
deleteEmptyShipments(mixed $connection) : int
Parameters
-
$connection
: mixed
-
deleteEmptyTrackings()
private
deleteEmptyTrackings(mixed $connection) : int
Parameters
-
$connection
: mixed
-
dropTemporaryTables()
private
dropTemporaryTables(mixed $connection) : void
Parameters
-
$connection
: mixed
-