value] = array_merge(static::$customSteps[$position->value] ?? [], $customSteps); } /** @return Step[] */ protected function getDefaultSteps(): array { return []; } /** @return Step[] */ protected function getSteps(): array { return array_merge( static::$customSteps[StepPosition::Before->value] ?? [], $this->getDefaultSteps(), static::$customSteps[StepPosition::After->value] ?? [] ); } }