43 if ( !is_array(
$deps ) ) {
56 foreach ( $this->deps as $dep ) {
57 if ( $dep->isExpired() ) {
70 foreach ( $this->deps as $dep ) {
71 $dep->loadDependencyValues();
92 $cache->set( $key, $this, $expiry );
113 $callbackParams = [],
$deps = []
115 $obj =
$cache->get( $key );
119 } elseif ( $callback ) {
120 $value = $callback( ...$callbackParams );
121 # Cache the newly-generated value
123 $wrapper->storeToCache(
$cache, $key, $expiry );