Airship\Engine\Continuum\Updaters\Cabin::bringCabinBackUp PHP Method

bringCabinBackUp() protected method

After we finish our update, we should bring the cabin back online:
protected bringCabinBackUp ( string $name = '' )
$name string Cabin name
    protected function bringCabinBackUp(string $name = '')
    {
        \unlink(\implode(DIRECTORY_SEPARATOR, [ROOT, 'tmp', 'cabin.' . $name . '.offline.txt']));
        // Clear caches:
        \unlink(\implode(DIRECTORY_SEPARATOR, [ROOT, 'tmp', 'cargo', 'cabin_data.json']));
        \unlink(\implode(DIRECTORY_SEPARATOR, [ROOT, 'tmp', 'cache', 'cargo-' . $name . '.cache.json']));
        \unlink(\implode(DIRECTORY_SEPARATOR, [ROOT, 'tmp', 'cache', 'csp.' . $name . '.json']));
        \unlink(\implode(DIRECTORY_SEPARATOR, [ROOT, 'tmp', 'cache', $name . '.motifs.json']));
        \clearstatcache();
    }