Method | Description | |
---|---|---|
__construct ( string $modelName, CacheCache\Cache $cache ) | Create the CachedModel using the modelname, cache and datasource | |
setModel ( array $model ) : mixed | void |
public __construct ( string $modelName, CacheCache\Cache $cache ) | ||
$modelName | string | The name of the model |
$cache | CacheCache\Cache | The cache to use |