/** * {@inheritDoc} */ public function getReasonParameters() { $this->__initializer__ && $this->__initializer__->__invoke($this, 'getReasonParameters', array()); return parent::getReasonParameters(); }
/** * Returns a warning message * * @param Warning $warning * * @return string */ protected function getWarningMessage(Warning $warning) { return sprintf("STEP %s WARNING on item %s:\n%s\n", $warning->getStepExecution()->getStepName(), Yaml::dump($warning->getItem(), 0), strtr($warning->getReason(), $warning->getReasonParameters())); }