/** * @param Sequence $sequence * @param string $commandIdentifier * @return string * @internal */ protected function removeStepsForCommand($sequence, $commandIdentifier) { $options = $this->getOptionsForCommand($commandIdentifier); if (isset($options['removeSteps'])) { foreach ($options['removeSteps'] as $stepIdentifier) { $sequence->removeStep($stepIdentifier); } } }