/**
  * {@inheritDoc}
  */
 public function toArray()
 {
     $this->__initializer__ && $this->__initializer__->__invoke($this, 'toArray', array());
     return parent::toArray();
 }
 /**
  * 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()));
 }