CacheRebuilder
in package
Table of Contents
Methods
- __construct() : mixed
- get_class_statistics() : array<string|int, mixed>
- Statistics on the types of classes found
- rebuild_cache() : bool
- Completely rebuilds the cache from MILK_DIR
- show_cache_preview() : void
- Shows a preview of the cache
- verify_cache() : array<string|int, mixed>
- Verifies cache integrity
Methods
__construct()
public
__construct() : mixed
get_class_statistics()
Statistics on the types of classes found
public
get_class_statistics() : array<string|int, mixed>
Return values
array<string|int, mixed>rebuild_cache()
Completely rebuilds the cache from MILK_DIR
public
rebuild_cache() : bool
Return values
boolshow_cache_preview()
Shows a preview of the cache
public
show_cache_preview([int $limit = 10 ]) : void
Parameters
- $limit : int = 10
verify_cache()
Verifies cache integrity
public
verify_cache() : array<string|int, mixed>