Initial Commit
This commit is contained in:
13
dependencies/remotelyliving/php-dns/src/Factories/SpatieDNS.php
vendored
Normal file
13
dependencies/remotelyliving/php-dns/src/Factories/SpatieDNS.php
vendored
Normal file
@ -0,0 +1,13 @@
|
||||
<?php
|
||||
|
||||
namespace WP_Ultimo\Dependencies\RemotelyLiving\PHPDNS\Factories;
|
||||
|
||||
use WP_Ultimo\Dependencies\RemotelyLiving\PHPDNS\Entities\Hostname;
|
||||
use WP_Ultimo\Dependencies\Spatie\Dns\Dns;
|
||||
class SpatieDNS
|
||||
{
|
||||
public function createResolver(Hostname $domain, Hostname $nameserver = null) : Dns
|
||||
{
|
||||
return new Dns((string) $domain, (string) $nameserver);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user