Magestead\Command\UpdateCommand::execute PHP Method

execute() protected method

Execute a global composer update for the package
protected execute ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output ) : ProcessCommand
$input Symfony\Component\Console\Input\InputInterface
$output Symfony\Component\Console\Output\OutputInterface
return ProcessCommand
    protected function execute(InputInterface $input, OutputInterface $output)
    {
        $output->writeln('<info>Checking for Updates</info>');
        return new ProcessCommand('composer global update richdynamix/magestead', $this->projectPath, $output);
    }