Closed wealding closed 4 years ago
and "amazonaws.com" does not work too, others fine, why?
hello @wealding this is expected behaviour. Please read the documentation to understand why it is this way.
@wealding to be more complete the next feature release will make it more easily to get what you are looking for by introducing a simpler public API see #263 .
Issue summary
resolve "blogspot.com" error
System informations
Standalone code, or other way to reproduce the problem
$domain = $rules->resolve('blogspot.com'); var_dump($domain);
Expected result
["domain"]=>'blogspot.com'
Actual result
object(Pdp\Domain)#35 (7) { ["domain"]=> NULL ["registrableDomain"]=> NULL ["subDomain"]=> NULL ["publicSuffix"]=> NULL ["isKnown"]=> bool(false) ["isICANN"]=> bool(false) ["isPrivate"]=> bool(false) }