@@ -60,82 +60,82 @@ discard block |
||
| 60 | 60 | /** |
| 61 | 61 | * Specify if the item must provide detailed creation/modification dates |
| 62 | 62 | */ |
| 63 | - 'itemDetailedDate' => false, |
|
| 63 | + 'itemDetailedDate' => false, |
|
| 64 | 64 | |
| 65 | 65 | /** |
| 66 | 66 | * Automatically attempt to fallback to temporary directory |
| 67 | 67 | * if the cache fails to write on the specified directory |
| 68 | 68 | */ |
| 69 | - 'autoTmpFallback' => false, |
|
| 69 | + 'autoTmpFallback' => false, |
|
| 70 | 70 | |
| 71 | 71 | /** |
| 72 | 72 | * Provide a secure file manipulation mechanism |
| 73 | 73 | * on intensive usage the performance can be affected. |
| 74 | 74 | */ |
| 75 | - 'secureFileManipulation' => false, |
|
| 75 | + 'secureFileManipulation' => false, |
|
| 76 | 76 | |
| 77 | 77 | /** |
| 78 | 78 | * Ignore Symfony notice for Symfony project which |
| 79 | 79 | * do not makes use of PhpFastCache's Symfony Bundle |
| 80 | 80 | */ |
| 81 | - 'ignoreSymfonyNotice' => false, |
|
| 81 | + 'ignoreSymfonyNotice' => false, |
|
| 82 | 82 | |
| 83 | 83 | /** |
| 84 | 84 | * Default time-to-live in second |
| 85 | 85 | */ |
| 86 | - 'defaultTtl' => 900, |
|
| 86 | + 'defaultTtl' => 900, |
|
| 87 | 87 | |
| 88 | 88 | /** |
| 89 | 89 | * Default key hash function |
| 90 | 90 | * (md5 by default) |
| 91 | 91 | */ |
| 92 | - 'defaultKeyHashFunction' => '', |
|
| 92 | + 'defaultKeyHashFunction' => '', |
|
| 93 | 93 | |
| 94 | 94 | /** |
| 95 | 95 | * The securityKey that will be used |
| 96 | 96 | * to create sub-directory |
| 97 | 97 | * (Files-based drivers only) |
| 98 | 98 | */ |
| 99 | - 'securityKey' => 'auto', |
|
| 99 | + 'securityKey' => 'auto', |
|
| 100 | 100 | |
| 101 | 101 | /** |
| 102 | 102 | * Auto-generate .htaccess if it's missing |
| 103 | 103 | * (Files-based drivers only) |
| 104 | 104 | */ |
| 105 | - 'htaccess' => true, |
|
| 105 | + 'htaccess' => true, |
|
| 106 | 106 | |
| 107 | 107 | /** |
| 108 | 108 | * Default files chmod |
| 109 | 109 | * 0777 recommended |
| 110 | 110 | * (Files-based drivers only) |
| 111 | 111 | */ |
| 112 | - 'default_chmod' => 0777, |
|
| 112 | + 'default_chmod' => 0777, |
|
| 113 | 113 | |
| 114 | 114 | /** |
| 115 | 115 | * The path where we will writecache files |
| 116 | 116 | * default value if empty: sys_get_temp_dir() |
| 117 | 117 | * (Files-based drivers only) |
| 118 | 118 | */ |
| 119 | - 'path' => '', |
|
| 119 | + 'path' => '', |
|
| 120 | 120 | |
| 121 | 121 | /** |
| 122 | 122 | * Driver fallback in case of failure. |
| 123 | 123 | * Caution, in case of failure an E_WARNING |
| 124 | 124 | * error will always be raised |
| 125 | 125 | */ |
| 126 | - 'fallback' => false, |
|
| 126 | + 'fallback' => false, |
|
| 127 | 127 | |
| 128 | 128 | /** |
| 129 | 129 | * Maximum size (bytes) of object store in memory |
| 130 | 130 | * (Memcache(d) drivers only) |
| 131 | 131 | */ |
| 132 | - 'limited_memory_each_object' => 4096, |
|
| 132 | + 'limited_memory_each_object' => 4096, |
|
| 133 | 133 | |
| 134 | 134 | /** |
| 135 | 135 | * Compress stored data, if the backend supports it |
| 136 | 136 | * (Memcache(d) drivers only) |
| 137 | 137 | */ |
| 138 | - 'compress_data' => false, |
|
| 138 | + 'compress_data' => false, |
|
| 139 | 139 | ]; |
| 140 | 140 | |
| 141 | 141 | /** |
@@ -317,23 +317,23 @@ discard block |
||
| 317 | 317 | public static function getStaticSystemDrivers() |
| 318 | 318 | { |
| 319 | 319 | return [ |
| 320 | - 'Apc', |
|
| 321 | - 'Apcu', |
|
| 322 | - 'Cassandra', |
|
| 323 | - 'Couchbase', |
|
| 324 | - 'Devnull', |
|
| 325 | - 'Files', |
|
| 326 | - 'Leveldb', |
|
| 327 | - 'Memcache', |
|
| 328 | - 'Memcached', |
|
| 329 | - 'Memstatic', |
|
| 330 | - 'Mongodb', |
|
| 331 | - 'Predis', |
|
| 332 | - 'Redis', |
|
| 333 | - 'Ssdb', |
|
| 334 | - 'Sqlite', |
|
| 335 | - 'Wincache', |
|
| 336 | - 'Xcache', |
|
| 320 | + 'Apc', |
|
| 321 | + 'Apcu', |
|
| 322 | + 'Cassandra', |
|
| 323 | + 'Couchbase', |
|
| 324 | + 'Devnull', |
|
| 325 | + 'Files', |
|
| 326 | + 'Leveldb', |
|
| 327 | + 'Memcache', |
|
| 328 | + 'Memcached', |
|
| 329 | + 'Memstatic', |
|
| 330 | + 'Mongodb', |
|
| 331 | + 'Predis', |
|
| 332 | + 'Redis', |
|
| 333 | + 'Ssdb', |
|
| 334 | + 'Sqlite', |
|
| 335 | + 'Wincache', |
|
| 336 | + 'Xcache', |
|
| 337 | 337 | ]; |
| 338 | 338 | } |
| 339 | 339 | |
@@ -343,9 +343,9 @@ discard block |
||
| 343 | 343 | public static function getStaticAllDrivers() |
| 344 | 344 | { |
| 345 | 345 | return array_merge(self::getStaticSystemDrivers(), [ |
| 346 | - 'Devtrue', |
|
| 347 | - 'Devfalse', |
|
| 348 | - 'Cookie', |
|
| 346 | + 'Devtrue', |
|
| 347 | + 'Devfalse', |
|
| 348 | + 'Cookie', |
|
| 349 | 349 | ]); |
| 350 | 350 | } |
| 351 | 351 | |