PHPDaemon\Examples\ExampleIRCBot::onReady PHP Méthode

onReady() public méthode

Called when the worker is ready to go.
public onReady ( ) : void
Résultat void
    public function onReady()
    {
        if ($this->client) {
            $this->client->onReady();
            $this->connect();
        }
    }