public function toConsole()
    {
        $this->getConsole()->writeLine(
                'Replace "zendframework/zendframework" in your composer.json file with :', Color::YELLOW
        );
        $componentsCount = count($this->components);
        $count = 0;

        foreach (array_keys($this->components) as $component) {
            $suffix = '';

            $count++;
            if ($count < $componentsCount) {
                $suffix = ',';
            }
            $this->getConsole()->writeLine('"zendframework/' . $component . '": "' . $this->version . '"' . $suffix);
        }
    }