public function restartCommand(): void
    {
        $daemon = $this->input->getSameOpt(['d', 'daemon']);

        $this->createServer()->asDaemon($daemon)->restart();
    }
public function restartCommand(): void
    {
        $daemon = $this->input->getSameOpt(['d', 'daemon']);

        $this->createServer()->asDaemon($daemon)->restart();
    }
public function restartCommand ( ) : void { $ daemon = $ this -> input -> getSameOpt ( [ 'd' , 'daemon' ] ) ; $ this -> createServer ( ) -> asDaemon ( $ daemon ) -> restart ( ) ; }
restart the application server
@options
-d, --daemon  run app server on the background
@throws \Throwable
restart the application server