src/RecipeCommandBehaviour.php
protected function updateProject(OutputInterface $output)
    {
        /** @var UpdateCommand $command */
        $command = $this->getApplication()->find('update');
        $arguments = [ 'command' => 'update' ];
        $requireInput = new ArrayInput($arguments);
        $returnCode = $command->run($requireInput, $output);

        // Flush modified composer object
        $this->resetComposer();
        return $returnCode;
    }
protected function updateProject(OutputInterface $output)
    {
        /** @var UpdateCommand $command */
        $command = $this->getApplication()->find('update');
        $arguments = [ 'command' => 'update' ];
        $requireInput = new ArrayInput($arguments);
        $returnCode = $command->run($requireInput, $output);

        // Flush modified composer object
        $this->resetComposer();
        return $returnCode;
    }
protected function updateProject ( OutputInterface $ output ) { /** @var UpdateCommand $command */ $ command = $ this -> getApplication ( ) -> find ( 'update' ) ; $ arguments = [ 'command' => 'update' ] ; $ requireInput = new ArrayInput ( $ arguments ) ; $ returnCode = $ command -> run ( $ requireInput , $ output ) ; // Flush modified composer object $ this -> resetComposer ( ) ; return $ returnCode ; }
Update the project

@param OutputInterface $output
@return int
Update the project