protected function applyConfig()
{
parent::applyConfig();
foreach ($this->config as $k => $v) {
if (is_object($v) && $v instanceof \PHPDaemon\Config\Entry\Generic) {
$v = $v->getValue();
}
$k = strtolower($k);
if ($k === 'allowedclients') {
$this->allowedClients = $v;
}
}
}
/** * @TODO DESCR */ public function applyConfig() { parent::applyConfig(); $this->protologging = (bool) $this->config->protologging->value; if (isset($this->client)) { $this->client->protologging = $this->protologging; } }