FarahUrlPath
implements
Hashable
-
author
-
Table of Contents
Interfaces
- Hashable
Constants
-
SEPARATOR
= '/'
Methods
-
__toString()
: string
-
createEmpty()
: self
-
createFromSegments()
: self
-
createFromString()
: self
-
equals()
: bool
-
getSegments()
: array<string|int, mixed>
-
hash()
: mixed
SEPARATOR
public
mixed
SEPARATOR
= '/'
__toString()
public
__toString() : string
createEmpty()
public
static createEmpty() : self
createFromSegments()
public
static createFromSegments(array<string|int, mixed> $segments) : self
Parameters
-
$segments
: array<string|int, mixed>
-
createFromString()
public
static createFromString(string $path[, FarahUrlPath $base = null ]) : self
Parameters
-
$path
: string
-
-
$base
: FarahUrlPath
= null
-
equals()
public
equals(mixed $obj) : bool
Parameters
-
$obj
: mixed
-
getSegments()
public
getSegments() : array<string|int, mixed>
Return values
array<string|int, mixed>
hash()
public
hash() : mixed