프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$cache | Internal array that holds the compiled cache. |
메소드 | 설명 | |
---|---|---|
delete ( $api, $class ) | Delete the cache for the given api and class. | |
isFresh ( $api, $class, $version, $ttl ) : boolean | Checks if the cache is still fresh based on the given ttl. | |
read ( $api, $class, $version ) : boolean | array | Read the compiled cache array. | |
save ( $api, $class, $version, $cacheArray ) | Save the compiled cache array. |
public delete ( $api, $class ) | ||
$api | Name of the API. | |
$class | Name of the class. |
public save ( $api, $class, $version, $cacheArray ) | ||
$api | Name of the API. | |
$class | Name of the class. | |
$version | Version of the class. | |
$cacheArray | The compiled class cache array. |