\Pop\Debug\StorageStorageInterface

Debug storage interface

Summary

Methods
Constants
setFormat()
isPhp()
isJson()
getFormat()
save()
get()
has()
delete()
clear()
encodeValue()
decodeValue()
No constants found
No protected methods found
N/A
No private methods found
N/A

Methods

isPhp()

isPhp() : boolean

Determine if the format is PHP

Returns

boolean

isJson()

isJson() : boolean

Determine if the format is JSON

Returns

boolean

getFormat()

getFormat() : string

Get the storage format

Returns

string

save()

save(string  $id, mixed  $value) : void

Save debug data

Parameters

string $id
mixed $value

get()

get(string  $id) : mixed

Get debug data

Parameters

string $id

Returns

mixed

has()

has(string  $id) : mixed

Determine if debug data exists

Parameters

string $id

Returns

mixed

delete()

delete(string  $id) : void

Delete debug data

Parameters

string $id

clear()

clear() : void

Clear all debug data

encodeValue()

encodeValue(mixed  $value) : string

Encode the value based on the format

Parameters

mixed $value

Returns

string

decodeValue()

decodeValue(mixed  $value) : mixed

Decode the value based on the format

Parameters

mixed $value

Returns

mixed