Pagekit\Installer\Package\PackageManager::doInstall PHP Method

doInstall() protected method

protected doInstall ( $package ) : string
$package
return string
    protected function doInstall($package)
    {
        $this->getScripts($package)->install();
        $version = $this->getVersion($package);
        App::config('system')->set('packages.' . $package->get('module'), $version);
        return $version;
    }