domains
domains copied to clipboard
Parsing blogspot.com subdomains fails
I dont think that this result is expected, also getRegisterable returns the complete domain name with the subdomain in it. Example:
Utopia\Domains\Domain Object
(
[domain:protected] => notcivil.blogspot.com
[TLD:protected] =>
[suffix:protected] =>
[name:protected] =>
[sub:protected] =>
[parts:protected] => Array
(
[0] => notcivil
[1] => blogspot
[2] => com
)
)
Invoked via
require_once(dirname(__FILE__) . "/vendor/autoload.php");
$domain = new \Utopia\Domains\Domain("notcivil.blogspot.com");