| 1 | <?php |
||
| 18 | class TransactionItem extends CacheItem |
||
| 19 | { |
||
| 20 | private $clearFn; |
||
| 21 | private $isItemDeferedClearedFn; |
||
| 22 | |||
| 23 | public function setClearCallback(callable $clear) |
||
| 27 | |||
| 28 | public function setIsClearedCallback(callable $isItemDeferedCleared) |
||
| 32 | |||
| 33 | /** |
||
| 34 | * {@inheritdoc} |
||
| 35 | */ |
||
| 36 | public function isMiss() |
||
| 47 | |||
| 48 | /** |
||
| 49 | * {@inheritdoc} |
||
| 50 | */ |
||
| 51 | public function save() |
||
| 64 | |||
| 65 | /** |
||
| 66 | * {@inheritdoc} |
||
| 67 | */ |
||
| 68 | public function clear() |
||
| 75 | } |
||
| 76 |