Skip to content

Latest commit

 

History

History
184 lines (64 loc) · 1.41 KB

PathPrefixer.md

File metadata and controls

184 lines (64 loc) · 1.41 KB

PathPrefixer

  • Full name: \League\Flysystem\PathPrefixer
  • This class is marked as final and can't be subclassed
  • This class is a Final class

Properties

prefix

private string $prefix

separator

private string $separator

Methods

__construct

public __construct(string $prefix, string $separator = '/'): mixed

Parameters:

Parameter Type Description
$prefix string
$separator string

prefixPath

public prefixPath(string $path): string

Parameters:

Parameter Type Description
$path string

stripPrefix

public stripPrefix(string $path): string

Parameters:

Parameter Type Description
$path string

stripDirectoryPrefix

public stripDirectoryPrefix(string $path): string

Parameters:

Parameter Type Description
$path string

prefixDirectoryPath

public prefixDirectoryPath(string $path): string

Parameters:

Parameter Type Description
$path string