Documentation

FileStorage
in package

Table of Contents

$config  : array<string|int, mixed>
$manager  : MountManager
$storages  : array<string|int, mixed>
__call()  : mixed
__construct()  : mixed
addStorage()  : self
getURL()  : string|null
use()  : Filesystem|null
initStorage()  : Filesystem

Properties

$config

protected array<string|int, mixed> $config = []

$storages

protected array<string|int, mixed> $storages = []

Methods

__call()

public __call(mixed $name, mixed $args) : mixed
Parameters
$name : mixed
$args : mixed
Return values
mixed

__construct()

public __construct([array<string|int, mixed> $config = [] ]) : mixed
Parameters
$config : array<string|int, mixed> = []
Return values
mixed

addStorage()

public addStorage(string $name, array<string|int, mixed> $config) : self
Parameters
$name : string
$config : array<string|int, mixed>
Return values
self

getURL()

public getURL(string $file) : string|null
Parameters
$file : string
Return values
string|null

Search results