public function showValidationProblems(ConstraintViolationList $problems, GeneratorInterface $generator)
    {
        if (!$this->bound()) {
            throw new OutputNotAvailableException(
                "Tried to show validation errors, however no output channel available"
            );
        }

        $block = ValidationProblemFormatter::format($problems, $generator, $this->getHelper('formatter'));
        $this->getOutput()->writeln($block);
    }