| 1 | <?php |
||
| 13 | class LoggingReporter implements PageImportReporter { |
||
| 14 | |||
| 15 | private $logger; |
||
| 16 | |||
| 17 | private $number = 0; |
||
| 18 | |||
| 19 | public function __construct( LoggerInterface $logger ) { |
||
| 22 | |||
| 23 | public function started( EntityPage $entityPage ) { |
||
| 26 | |||
| 27 | public function endedSuccessfully() { |
||
| 30 | |||
| 31 | public function endedWithError( Exception $ex ) { |
||
| 34 | |||
| 35 | public function stepStarted( string $message ) { |
||
| 38 | |||
| 39 | public function stepCompleted() { |
||
| 42 | |||
| 43 | } |
||
| 44 |