mirror of
https://github.com/danog/dns.git
synced 2024-12-02 17:38:05 +01:00
1d418d3e82
WIP
20 lines
301 B
PHP
20 lines
301 B
PHP
<?php
|
|
|
|
namespace Addr;
|
|
|
|
use Alert\Reactor;
|
|
|
|
class ResolverFactory
|
|
{
|
|
/**
|
|
* Create a new resolver instance
|
|
*
|
|
* @param Reactor $reactor
|
|
* @return Resolver
|
|
*/
|
|
public function createResolver(Reactor $reactor)
|
|
{
|
|
return new Resolver($reactor, new Cache);
|
|
}
|
|
}
|