/** * {@inheritdoc} */ protected function doExecute(StepExecution $stepExecution) { // inject the step execution in the step item to be able to log summary info during execution $this->cleaner->setStepExecution($stepExecution); try { $this->cleaner->execute(); } catch (InvalidItemException $e) { $this->handleStepExecutionWarning($stepExecution, $this->cleaner, $e); } }