| 1 | <?php |
||
| 18 | class TransactionItem extends CacheItem |
||
| 19 | { |
||
| 20 | /** @var callable */ |
||
| 21 | private $clearFn; |
||
| 22 | |||
| 23 | /** @var callable */ |
||
| 24 | private $isItemDeferedClearedFn; |
||
| 25 | |||
| 26 | public function setClearCallback(callable $clear) |
||
| 30 | |||
| 31 | public function setIsClearedCallback(callable $isItemDeferedCleared) |
||
| 35 | |||
| 36 | /** |
||
| 37 | * {@inheritdoc} |
||
| 38 | */ |
||
| 39 | public function isMiss() |
||
| 50 | |||
| 51 | /** |
||
| 52 | * {@inheritdoc} |
||
| 53 | */ |
||
| 54 | public function save() |
||
| 67 | |||
| 68 | /** |
||
| 69 | * {@inheritdoc} |
||
| 70 | */ |
||
| 71 | public function clear() |
||
| 78 | } |
||
| 79 |