Class JsonFileStore
A key-value store backed by a JSON file.
- Webmozart\KeyValueStore\JsonFileStore implements Webmozart\KeyValueStore\Api\SortableStore, Webmozart\KeyValueStore\Api\CountableStore
Namespace: Webmozart\KeyValueStore
Since: 1.0
Author: Bernhard Schussek bschussek@gmail.com
Located at JsonFileStore.php
Since: 1.0
Author: Bernhard Schussek bschussek@gmail.com
Located at JsonFileStore.php
public
|
|
public
|
|
public
mixed
|
|
public
mixed
|
|
public
array
|
#
getMultiple( array $keys, mixed $default = null )
Returns the values of multiple keys in the store. |
public
array
|
|
public
boolean
|
|
public
boolean
|
|
public
|
|
public
array
|
|
public
|
|
public
|
integer |
NO_SERIALIZE_STRINGS
Flag: Disable serialization of strings. |
#
1
|
integer |
NO_SERIALIZE_ARRAYS
Flag: Disable serialization of arrays. |
#
2
|
integer |
ESCAPE_GT_LT
Flag: Escape ">" and "<". |
#
4
|
integer |
ESCAPE_AMPERSAND
Flag: Escape "&". |
#
8
|
integer |
ESCAPE_SINGLE_QUOTE
Flag: Escape single quotes. |
#
16
|
integer |
ESCAPE_DOUBLE_QUOTE
Flag: Escape double quotes. |
#
32
|
integer |
NO_ESCAPE_SLASH
Flag: Don't escape forward slashes. |
#
64
|
integer |
NO_ESCAPE_UNICODE
Flag: Don't escape Unicode characters. |
#
128
|
integer |
PRETTY_PRINT
Flag: Format the JSON nicely. |
#
256
|
integer |
TERMINATE_WITH_LINE_FEED
Flag: Terminate the JSON with a line feed. |
#
512
|
float |
MAX_FLOAT
This seems to be the biggest float supported by json_encode()/json_decode(). |
#
1.0E+14
|