Airship\Engine\Continuum\Installer::markPackageInstalled PHP Méthode

markPackageInstalled() public méthode

Somewhat self-explanatory. This just sets the 'installed' column in the database to 'TRUE' so our web UI knows that it's installed.
public markPackageInstalled ( InstallFile $install ) : boolean
$install InstallFile
Résultat boolean
    public function markPackageInstalled(InstallFile $install) : bool
    {
        $db = \Airship\get_database();
        $db->beginTransaction();
        $db->update('airship_package_cache', ['installed' => true, 'current_version' => $install->getVersion()], ['packagetype' => $this->type, 'supplier' => $this->supplier->getName(), 'name' => $this->package]);
        self::$continuumLogger->store(LogLevel::DEBUG, 'Package marked as installed', $this->getLogContext($install));
        return $db->commit();
    }