src/Zf2ComponentsList.php
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);
        }
    }
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);
        }
    }
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 ) ; } }
Sends the components list to the console.
Sends the components list to the console .