- Full name:
\League\Flysystem\PathPrefixer
- This class is marked as final and can't be subclassed
- This class is a Final class
private string $prefix
private string $separator
public __construct(string $prefix, string $separator = '/'): mixed
Parameters:
Parameter | Type | Description |
---|---|---|
$prefix |
string | |
$separator |
string |
public prefixPath(string $path): string
Parameters:
Parameter | Type | Description |
---|---|---|
$path |
string |
public stripPrefix(string $path): string
Parameters:
Parameter | Type | Description |
---|---|---|
$path |
string |
public stripDirectoryPrefix(string $path): string
Parameters:
Parameter | Type | Description |
---|---|---|
$path |
string |
public prefixDirectoryPath(string $path): string
Parameters:
Parameter | Type | Description |
---|---|---|
$path |
string |