class ProcessFactory (View source)

Properties

protected EntityManager $entityManager
protected Date $dateService
protected MessageBusInterface $messageBus
protected BatchUpdater $batchUpdater

Methods

__construct(EntityManager $entityManager, Date $dateService, MessageBusInterface $messageBus, BatchUpdater $batchUpdater)

No description

createTaskProcess(TaskInterface $task, InputInterface $input = null)

No description

createProcess(string $name)

No description

fillProcess(Process $process)

No description

createBatchEntity(Batch $batch)

No description

setBatchTotal(Batch $batchEntity, Process $process, $totalJobs)

No description

createWithBatch(Batch $batch)

No description

Details

__construct(EntityManager $entityManager, Date $dateService, MessageBusInterface $messageBus, BatchUpdater $batchUpdater)

No description

Parameters

EntityManager $entityManager
Date $dateService
MessageBusInterface $messageBus
BatchUpdater $batchUpdater

createTaskProcess(TaskInterface $task, InputInterface $input = null)

No description

Parameters

TaskInterface $task
InputInterface $input

Process createProcess(string $name)

No description

Parameters

string $name

Return Value

Process

protected Process fillProcess(Process $process)

No description

Parameters

Process $process

Return Value

Process

Batch createBatchEntity(Batch $batch)

No description

Parameters

Batch $batch

Return Value

Batch

setBatchTotal(Batch $batchEntity, Process $process, $totalJobs)

No description

Parameters

Batch $batchEntity
Process $process
$totalJobs

Process createWithBatch(Batch $batch)

No description

Parameters

Batch $batch

Return Value

Process