AbstractFileLoader
in package
implements
FileLoaderInterface
AbstractYes
Abstract filesystem loader.
Tags
Table of Contents
Interfaces
- FileLoaderInterface
- File Loader interface.
Properties
- $basePath : mixed
Methods
- setBasePath() : mixed
- Sets base features path.
- findAbsolutePath() : string
- Finds absolute path for provided relative (relative to base features path).
- findRelativePath() : string
- Finds relative path for provided absolute (relative to base features path).
Properties
$basePath
protected
mixed
$basePath
Methods
setBasePath()
Sets base features path.
public
setBasePath(string $path) : mixed
Parameters
- $path : string
-
Base loader path
findAbsolutePath()
Finds absolute path for provided relative (relative to base features path).
protected
findAbsolutePath(string $path) : string
Parameters
- $path : string
-
Relative path
Return values
stringfindRelativePath()
Finds relative path for provided absolute (relative to base features path).
protected
findRelativePath(string $path) : string
Parameters
- $path : string
-
Absolute path