FileStorage
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
$config
protected
array<string|int, mixed>
$config
= []
$manager
protected
MountManager
$manager
$storages
protected
array<string|int, mixed>
$storages
= []
__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
—
use()
public
use(string $name) : Filesystem|null
Parameters
-
$name
: string
-
Return values
Filesystem|null
—
initStorage()
protected
initStorage(string $name) : Filesystem
Parameters
-
$name
: string
-
Return values
Filesystem
—