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.
2 parents 839542d + 3894ee7 commit 7c2a8bbCopy full SHA for 7c2a8bb
src/Http/Builder.php
@@ -52,6 +52,20 @@ public function parsed(array $parsed): self;
52
*/
53
public function getDomain(): string;
54
55
+ /**
56
+ * Retrieve the domain level name of the URI.
57
+ *
58
+ * @return string
59
+ */
60
+ public function getDomainLevel(int $level = 0): string;
61
+
62
63
+ * Retrieve the base domain name of the URI.
64
65
66
67
+ public function getBaseDomain(): string;
68
69
/**
70
* Retrieve the subdomain name of the URI.
71
*
@@ -86,7 +100,7 @@ public function getPassword(): string;
86
100
* @return \DragonCode\Contracts\Http\Builder
87
101
88
102
public function removeFragment(): self;
89
-
103
90
104
91
105
* Retrieve the query array of the URI.
92
106
0 commit comments