コード例 #1
0
 /**
  * @param UnitProcedureFinishEvent $event
  */
 public function onUnitProcedureFinish(UnitProcedureFinishEvent $event)
 {
     $unitProcedure = $event->getUnitProcedure();
     $this->logManager->log(sprintf("Unit procedure '%s' finished", $unitProcedure->getName()));
 }
コード例 #2
0
 /**
  * @param UnitProcedureFinishEvent $event
  */
 public function onUnitProcedureFinish(UnitProcedureFinishEvent $event)
 {
     $unitProcedure = $event->getUnitProcedure();
     $this->log('unit_procedure.finish', $unitProcedure->getId(), $unitProcedure->getBatch());
 }