(PECL event >= 1.2.6-beta)

EventDnsBase::__constructConstructs EventDnsBase object


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

Constructs EventDnsBase object.

Bağımsız Değişkenler


Event base.


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() .

Dönen Değerler

Returns EventDnsBase object.

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top