コード例 #1
0
 /**
  * Return the state's step label.
  *
  * @param  ModelState $state
  * @return string
  */
 public function getStepLabel(ModelState $state)
 {
     $step = $this->aggregator->getProcess($state->getProcessName())->getStep($state->getStepName());
     return $step instanceof Step ? $step->getLabel() : '';
 }