/** * Removes the parameter for dynamic step navigation. * @param array $parameters Current route parameters. * @param FormFlow $flow The flow involved. * @return array Route parameters without the step parameter. */ public function removeDynamicStepNavigationParameter(array $parameters, FormFlow $flow) { unset($parameters[$flow->getDynamicStepNavigationParameter()]); return $parameters; }