\app\framework\Component\Storage\DiskDisk

Summary

Methods
Properties
Constants
__construct()
isDisk()
keyExists()
getDriver()
getPath()
No public properties found
No constants found
serialize()
unserialize()
No protected properties found
N/A
validateDisk()
$disk
$Driver
N/A

Properties

$disk

$disk : 

Type

$Driver

$Driver : 

Type

Methods

__construct()

__construct(null  $diskName = null) 

Disk constructor.

Parameters

null $diskName

isDisk()

isDisk(  $diskName) : boolean

Returns true of false if disk Exists

Parameters

$diskName

Returns

boolean

keyExists()

keyExists(  $key) 

Parameters

$key

getPath()

getPath() : String|boolean

Returns Path or false if path is not defined in config file.

Returns

String|boolean

serialize()

serialize(  $value) : string

Serializes the given value.

Parameters

$value

Returns

string

unserialize()

unserialize(string  $string) : array|mixed

Unserializes the given string and returns the array.

Parameters

string $string

String to serialize.

Returns

array|mixed

validateDisk()

validateDisk(  $conf) 

Parameters

$conf