메소드 |
설명 |
|
__construct ( $url ) |
Url constructor. |
|
__construct ( string $url ) |
|
|
__toString ( ) : string |
|
|
create ( $url ) : static |
|
|
create ( string $url ) : static |
|
|
hasCrawlableScheme ( ) : boolean |
|
|
isEmailUrl ( ) : boolean |
Determine if this is a mailto-link. |
|
isEqual ( Url $otherUrl ) : boolean |
|
|
isJavascript ( ) : boolean |
Determine if this is an inline javascript. |
|
isProtocolIndependent ( ) : boolean |
|
|
isRelative ( ) : boolean |
|
|
isTelUrl ( ) : boolean |
Determine if this is a tel-link. |
|
path ( ) : null | string |
|
|
removeFragment ( ) |
|
|
segment ( integer $index ) : string | null |
|
|
segments ( integer $index = null ) : array | null | string |
|
|
segments ( integer | null $index = null ) : array | null | string |
|
|
setHost ( string $host ) |
|
|
setPort ( integer $port ) |
|
|
setScheme ( string $scheme ) |
|
|
startsWith ( string | null $haystack, string | array $needles ) : boolean |
|
|