protected function scaleUp($processes)
    {
        $difference = $processes - count($this->processes);

        for ($i = 0; $i < $difference; $i++) {
            $this->start();
        }
    }
protected function scaleUp($processes)
    {
        $difference = $processes - count($this->processes);

        for ($i = 0; $i < $difference; $i++) {
            $this->start();
        }
    }
protected function scaleUp ( $ processes ) { $ difference = $ processes - count ( $ this -> processes ) ; for ( $ i = 0 ; $ i < $ difference ; $ i ++ ) { $ this -> start ( ) ; } }
Scale up to the given number of processes.

@param  int  $processes
@return void
Scale up to the given number of processes .