CACHE_DIR
CACHE_DIR = 'json_cache'
Class Collection.
toBase() : \MiotApi\Util\Collection\Collection
Get a base Support collection instance from this collection.
load( $file) : boolean|\MiotApi\Util\Jsoner\Jsoner
读取json文件里的内容为数组.
$file |
fill( $data, $file) : boolean|\MiotApi\Util\Jsoner\Jsoner
json数据存储成json文件.
$data | ||
$file |
fillArray( $array, $file) : boolean|\MiotApi\Util\Jsoner\Jsoner
数组缓存成json文件.
$array | ||
$file |