\League\Flysystem\AdapterAbstractAdapter

Summary

Methods
Properties
Constants
setPathPrefix()
getPathPrefix()
applyPathPrefix()
removePathPrefix()
No public properties found
No constants found
No protected methods found
$pathPrefix
$pathSeparator
N/A
No private methods found
No private properties found
N/A

Properties

$pathPrefix

$pathPrefix : string|null

Type

string|null — path prefix

$pathSeparator

$pathSeparator : string

Type

string

Methods

setPathPrefix()

setPathPrefix(string  $prefix) : void

Set the path prefix.

Parameters

string $prefix

getPathPrefix()

getPathPrefix() : string|null

Get the path prefix.

Returns

string|null —

path prefix or null if pathPrefix is empty

applyPathPrefix()

applyPathPrefix(string  $path) : string

Prefix a path.

Parameters

string $path

Returns

string —

prefixed path

removePathPrefix()

removePathPrefix(string  $path) : string

Remove a path prefix.

Parameters

string $path

Returns

string —

path without the prefix