Start processing files.

This commit is contained in:
James Cole
2018-05-06 21:06:23 +02:00
parent 1209f3b39a
commit 690c9203c8
6 changed files with 157 additions and 1024 deletions

View File

@@ -58,11 +58,10 @@ class FileRoutine implements RoutineInterface
case 'ready_to_run':
// get processor, depending on file type
// is just CSV for now.
$processor = $this->getProcessor();
$processor->setJob($this->importJob);
$transactions = $processor->run();
// make processor run.
// then done!
// move to status 'processor_finished'.