PHPDaemon\Examples\GameMonitor::onConfigUpdated PHP Method

onConfigUpdated() public method

Called when worker is going to update configuration.
public onConfigUpdated ( ) : void
return void
    public function onConfigUpdated()
    {
        if ($this->client) {
            $this->client->config = $this->config;
            $this->client->onConfigUpdated();
        }
    }