コード例 #1
0
 /**
  * @param BatchStartEvent $event
  */
 public function onBatchStart(BatchStartEvent $event)
 {
     $batch = $event->getBatch();
     $this->logManager->log('Batch started');
 }
コード例 #2
0
 /**
  * @param BatchStartEvent $event
  */
 public function onBatchStart(BatchStartEvent $event)
 {
     $batch = $event->getBatch();
     $this->log('batch.start', $batch->getId(), $batch);
 }