We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent df5e2c2 commit f54d639Copy full SHA for f54d639
src/Domain.php
@@ -353,6 +353,14 @@ public function toUnicode()
353
/**
354
* Returns a new domain name with a different public suffix.
355
*
356
+ * The Public Suffix must be valid for the given domain name.
357
+ * ex: if the domain name is www.ulb.ac.be the only valid public suffixes
358
+ * are: be, ac.be, ulb.ac.be, or the null public suffix. Any other public
359
+ * suffix will throw an Exception.
360
+ *
361
+ * This method does not change the domain name value it only updates/changes/removes
362
+ * a valid public suffix for the given domain name.
363
364
* @param PublicSuffix $publicSuffix
365
366
* @return self
0 commit comments