Documentation
Cache
The cache helper provides a simple file caching:
Methods
get(string $namespace, string $key)
Get data from cache
$profile = Cache::get('profiles', 'profile');
put(string $namespace, string $key, mixed $data)
Writes a cache.
$profile = array('login' => 'Awilum', 'email' => 'awilum@msn.com'); Cache::put('profiles', 'profile', $profile);
delete(string $namespace, string $key)
Deletes a cache.
Cache::delete('profiles', 'profile');
clean(string $namespace)
Clean specific cache namespace.
Cache::clean('profiles');