| 1 | <?php |
||
| 19 | class CacheFactory implements CacheFactoryInterface |
||
| 20 | { |
||
| 21 | /** |
||
| 22 | * Builds an array cache |
||
| 23 | * |
||
| 24 | * @return ArrayCache |
||
| 25 | */ |
||
| 26 | 1 | public function arrayCache() |
|
| 30 | |||
| 31 | /** |
||
| 32 | * {@inheritdoc} |
||
| 33 | */ |
||
| 34 | 1 | public function redisFromParams($host = '127.0.0.1', $port = 6379, $db = 0, $timeOut = 0.0) |
|
| 42 | |||
| 43 | /** |
||
| 44 | * {@inheritdoc} |
||
| 45 | */ |
||
| 46 | 1 | public function redisCache(Redis $redis) |
|
| 50 | |||
| 51 | /** |
||
| 52 | * {@inheritdoc} |
||
| 53 | */ |
||
| 54 | 1 | public function chainCache(array $caches = []) |
|
| 63 | |||
| 64 | /** |
||
| 65 | * {@inheritdoc} |
||
| 66 | */ |
||
| 67 | 1 | public function LoggerCache( |
|
| 75 | } |
||
| 76 |