馃憻 Reproduction steps
$domain_check = new Domain($data['domain']);
var_dump($domain_check->get());
var_dump($domain_check->getTLD());
var_dump($domain_check->getSuffix());
var_dump($domain_check->getRegisterable());
var_dump($domain_check->getName());
var_dump($domain_check->getSub());
var_dump($domain_check->isKnown());
var_dump($domain_check->isICANN());
var_dump($domain_check->isPrivate());
var_dump($domain_check->isTest());die();
string(16) "www.test-8__.com"
string(3) "com"
string(3) "com"
string(12) "test-8__.com"
string(8) "test-8__"
string(3) "www"
bool(true)
bool(true)
bool(false)
bool(false)
馃憤 Expected behavior
test-8__.com is not valid for Register
I think should add $domain_check->isRootDomain() to check if is a valid domain with Registerable
馃憥 Actual Behavior
1
馃幉 Utopia Domain version
Version 0.2.x
馃捇 Operating system
Linux
馃悩 PHP Version
PHP 8.0
馃П Your Environment
No response
馃憖 Have you spent some time to check if this issue has been raised before?
馃彚 Have you read the Code of Conduct?
馃憻 Reproduction steps
馃憤 Expected behavior
test-8__.com is not valid for Register
I think should add
$domain_check->isRootDomain()to check if is a valid domain with Registerable馃憥 Actual Behavior
1
馃幉 Utopia Domain version
Version 0.2.x
馃捇 Operating system
Linux
馃悩 PHP Version
PHP 8.0
馃П Your Environment
No response
馃憖 Have you spent some time to check if this issue has been raised before?
馃彚 Have you read the Code of Conduct?