1
0
mirror of https://github.com/danog/dns.git synced 2024-12-02 17:38:05 +01:00
dns/lib/Addr/ResolverFactory.php
Chris Wright 1d418d3e82 Initial commit
WIP
2014-06-13 18:17:49 +01:00

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);
}
}