Nwidart\Modules\Process\Installer::installViaComposer PHP Method

installViaComposer() public method

Install the module via composer.
public installViaComposer ( ) : Process
return Symfony\Component\Process\Process
    public function installViaComposer()
    {
        return new Process(sprintf('cd %s && composer require %s', base_path(), $this->getPackageName()));
    }