protected function shutdown(string $runlevel)
    {
        $this->bootstrap->shutdown($runlevel);
        if ($runlevel === Bootstrap::RUNLEVEL_COMPILETIME) {
            $this->objectManager->get(LockManager::class)->unlockSite();
        }
        exit($this->response->getExitCode());
    }
protected function shutdown(string $runlevel)
    {
        $this->bootstrap->shutdown($runlevel);
        if ($runlevel === Bootstrap::RUNLEVEL_COMPILETIME) {
            $this->objectManager->get(LockManager::class)->unlockSite();
        }
        exit($this->response->getExitCode());
    }
protected function shutdown ( string $ runlevel ) { $ this -> bootstrap -> shutdown ( $ runlevel ) ; if ( $ runlevel === Bootstrap :: RUNLEVEL_COMPILETIME ) { $ this -> objectManager -> get ( LockManager :: class ) -> unlockSite ( ) ; } exit ( $ this -> response -> getExitCode ( ) ) ; }
Starts the shutdown sequence

@param string $runlevel one of the Bootstrap::RUNLEVEL_* constants
@return void
Starts the shutdown sequence