Items cache
class Movies extends \Cherrycake\Items {
protected $tableName = "movies";
protected $itemClassName = "\CherrycakeApp\Movie";
protected $isCache = true;
...
}Clearing Items specific cache
$movies = new Movies([
"fillMethod" => "fromParameters",
"p" => [
"minYear" => 1980,
"maxYear" => 1989,
"order" => ["released", "title"]
]
]);Clearing Items global cache with the CachedKeysPool mechanism
Last updated