Method |
Description |
|
containsAttributes ( mixed $key, array $attributes = ['*'] ) : boolean |
Return true if cache has already given attributes. |
|
forget ( mixed $key ) |
Remove an item from the cache by key. |
|
get ( mixed $key ) : Model |
Return instance from cache. |
|
getNotCachedAttributes ( mixed $key, array $attributes = ['*'] ) : array |
Return the difference between given attributes and attributes which are already cached. |
|
has ( mixed $key ) : boolean |
Return true if cache contains this key. |
|
keys ( ) : array |
Return all cache keys. |
|
put ( mixed $key, Model $instance, array $attributes = ['*'] ) : Model |
Put instance to cache. |
|