PathPrefixer
Table of Contents
-
$prefix
: string
-
$separator
: string
-
__construct()
: mixed
-
prefixDirectoryPath()
: string
-
prefixPath()
: string
-
stripDirectoryPrefix()
: string
-
stripPrefix()
: string
$prefix
private
string
$prefix
= ''
$separator
private
string
$separator
= '/'
__construct()
public
__construct(string $prefix[, string $separator = '/' ]) : mixed
Parameters
-
$prefix
: string
-
-
$separator
: string
= '/'
-
Return values
mixed
—
prefixDirectoryPath()
public
prefixDirectoryPath(string $path) : string
Parameters
-
$path
: string
-
Return values
string
—
prefixPath()
public
prefixPath(string $path) : string
Parameters
-
$path
: string
-
Return values
string
—
stripDirectoryPrefix()
public
stripDirectoryPrefix(string $path) : string
Parameters
-
$path
: string
-
Return values
string
—
stripPrefix()
public
stripPrefix(string $path) : string
Parameters
-
$path
: string
-
Return values
string
—