SHOW:
|
|
- or go back to the newest paste.
| 1 | if (!$data = $this->load($key)) {
| |
| 2 | - | $data = $this->save($keyfunction() use ($db) {
|
| 2 | + | $data = $this->save($key, function() use ($db) {
|
| 3 | return $db->query(...); | |
| 4 | }, array( | |
| 5 | Cache::TAGS => array(...), | |
| 6 | ... | |
| 7 | )) | |
| 8 | } |