You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Contracts/DomainHostInterface.php
+4Lines changed: 4 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -13,6 +13,7 @@
13
13
14
14
namespaceLeague\Uri\Contracts;
15
15
16
+
useBackedEnum;
16
17
useCountable;
17
18
useIterator;
18
19
useIteratorAggregate;
@@ -21,6 +22,9 @@
21
22
22
23
/**
23
24
* @extends IteratorAggregate<string>
25
+
*
26
+
* @method bool isSubdomainOf(BackedEnum|Stringable|string|null $parentHost) Tells whether the current domain instance is a subdomain of the parent host.
27
+
* @method bool hasSubdomain(BackedEnum|Stringable|string|null $childHost) Tells whether the submitted host is a subdomain of the current instance.
0 commit comments