Askedio\LaravelRatchet\Console\Commands\RatchetServerCommand::fire PHP Method

fire() public method

Execute the console command.
public fire ( ) : mixed
return mixed
    public function fire()
    {
        $this->host = $this->option('host');
        $this->port = intval($this->option('port'));
        $this->info(sprintf('Starting %s server on: %s:%d', $this->option('driver'), $this->host, $this->port));
        $this->server($this->option('driver'))->run();
    }