1
0
mirror of https://github.com/danog/dns.git synced 2024-12-03 09:57:56 +01:00
dns/lib/Addr/ResolverFactory.php

20 lines
301 B
PHP
Raw Normal View History

2014-06-13 19:17:49 +02:00
<?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);
}
}