steps === null) { foreach ($this->getLayout()->getChildBlocks($this->getNameInLayout()) as $step) { if ($step instanceof StepsWizard\StepInterface) { $this->steps[$step->getComponentName()] = $step; } } } return $this->steps; } // @codeCoverageIgnoreStart /** * @return array */ public function getStepComponents() { return array_keys($this->getSteps()); } /** * @return string */ public function getComponentName() { return $this->getNameInLayout(); } /** * @return array */ public function getInitData() { return $this->initData; } /** * @param array $initData * @return $this */ public function setInitData($initData) { $this->initData = $initData; return $this; } }