Php/docs/eventdnsbase.construct

提供:Dev Guides
< Php
2020年12月14日 (月) 10:18時点におけるNotes (トーク | 投稿記録)による版 (autoload)
(差分) ← 古い版 | 最新版 (差分) | 新しい版 → (差分)
移動先:案内検索

EventDnsBase::__construct

(PECL event >= 1.2.6-beta)

EventDnsBase::__constructConstructs EventDnsBase object


説明

public EventDnsBase::__construct ( EventBase $base , bool $initialize )

Constructs EventDnsBase object.


パラメータ

base
Event base.
initialize
If the initialize argument is true, it tries to configure the DNS base sensibly given your operating system’s default. Otherwise, it leaves the event DNS base empty, with no nameservers or options configured. In the latter case DNS base should be configured manually, e.g. with EventDnsBase::parseResolvConf() .


返り値

Returns EventDnsBase object.