| 1 | <?php |
||
| 29 | trait FallbackAwareTrait |
||
| 30 | { |
||
| 31 | /** |
||
| 32 | * Fallback cache driver (normally slower) |
||
| 33 | * |
||
| 34 | * @var DriverInterface |
||
| 35 | * @access protected |
||
| 36 | */ |
||
| 37 | protected $fallback; |
||
| 38 | |||
| 39 | /** |
||
| 40 | * {@inheritDoc} |
||
| 41 | */ |
||
| 42 | public function hasFallback()/*# : bool */ |
||
| 49 | |||
| 50 | /** |
||
| 51 | * {@inheritDoc} |
||
| 52 | */ |
||
| 53 | public function getFallback()/*# : DriverInterface */ |
||
| 57 | |||
| 58 | /** |
||
| 59 | * {@inheritDoc} |
||
| 60 | */ |
||
| 61 | public function setFallback(DriverInterface $driver) |
||
| 66 | } |
||
| 67 |