1 | <?php |
||
20 | class DnsResolver implements \IteratorAggregate |
||
21 | { |
||
22 | private $_results = null; |
||
23 | private $_pool; |
||
24 | |||
25 | 1 | public function __construct(array $pool) |
|
29 | |||
30 | /** |
||
31 | * Retrieve an external iterator |
||
32 | * |
||
33 | * @link http://php.net/manual/en/iteratoraggregate.getiterator.php |
||
34 | * @return Traversable An instance of an object implementing <b>Iterator</b> or |
||
35 | * <b>Traversable</b> |
||
36 | * @since 5.0.0 |
||
37 | */ |
||
38 | 1 | public function getIterator() |
|
44 | |||
45 | 1 | public function resolve(bool $force = false) : bool |
|
64 | } |
||
65 |