Browse Source

update address method api (outside address init)

main
yggverse 9 months ago
parent
commit
38f33eb584
  1. 6
      src/Resolve.php

6
src/Resolve.php

@ -127,15 +127,11 @@ class Resolve
} }
public function address( public function address(
string $url, \Yggverse\Net\Address $address,
array &$result = [], array &$result = [],
array &$error = [] array &$error = []
): ?\Yggverse\Net\Address ): ?\Yggverse\Net\Address
{ {
$address = new \Yggverse\Net\Address(
$url
);
foreach ($this->_providers as $provider) foreach ($this->_providers as $provider)
{ {
foreach ( foreach (

Loading…
Cancel
Save