class LocalConfiguration extends Configuration implements ConfigurationInterface, DeferredConfigurationInterface (View source)

Properties

protected $path
protected $relativePath

Methods

getTypeObject()

No description

setRootPath($path)

No description

getRootPath()

No description

setWebRootRelativePath($relativePath)

No description

getWebRootRelativePath()

No description

bool
hasPublicURL()

Does this storage location have a public url

bool
hasRelativePath()

Does this storage location have a relative path

string
getRelativePathToFile(string $file)

Get the relative path to a file

string
getPublicURLToFile(string $file)

Get the public url to a file

void
loadFromRequest(Request $req)

Load in data from a request object

validateRequest(Request $req)

No description

AdapterInterface
getAdapter()

Get the flysystem adapter

Details

getTypeObject()

setRootPath($path)

Parameters

$path

getRootPath()

setWebRootRelativePath($relativePath)

Parameters

$relativePath

getWebRootRelativePath()

bool hasPublicURL()

Does this storage location have a public url

Return Value

bool

bool hasRelativePath()

Does this storage location have a relative path

Return Value

bool

string getRelativePathToFile(string $file)

Get the relative path to a file

Parameters

string $file

Return Value

string

string getPublicURLToFile(string $file)

Get the public url to a file

Parameters

string $file

Return Value

string

void loadFromRequest(Request $req)

Load in data from a request object

Parameters

Request $req

Return Value

void

Error validateRequest(Request $req)

Parameters

Request $req

Return Value

Error

AdapterInterface getAdapter()

Get the flysystem adapter

Return Value

AdapterInterface