| 1 | <?php |
||
| 15 | class CliImportReporter implements ImportReporter { |
||
| 16 | |||
| 17 | private $output; |
||
| 18 | |||
| 19 | public function __construct( OutputInterface $output ) { |
||
| 22 | |||
| 23 | public function onImportStarted() { |
||
| 26 | |||
| 27 | public function onEntityInsertStarted( EntityDocument $entity ) { |
||
| 30 | |||
| 31 | public function onEntityInsertSucceeded( EntityDocument $entity ) { |
||
| 34 | |||
| 35 | public function onEntityInsertFailed( EntityDocument $entity, Exception $ex ) { |
||
| 39 | |||
| 40 | public function onImportCompleted() { |
||
| 43 | |||
| 44 | public function onImportAborted() { |
||
| 47 | |||
| 48 | } |
||
| 49 |