Amp\Dns\resolver

function resolver(Amp\Dns\Resolver $assign = null): Amp\Dns\Resolver

Retrieve the application-wide dns resolver instance

Type Parameter Description Default Value
Amp\Dns\Resolver $assign Optionally specify a new default dns resolver instance null