File tree Expand file tree Collapse file tree 2 files changed +15
-3
lines changed
Expand file tree Collapse file tree 2 files changed +15
-3
lines changed Original file line number Diff line number Diff line change 1919 */
2020class ApcCachePool extends AbstractCachePool
2121{
22+ /**
23+ * {@inheritdoc}
24+ */
2225 protected function fetchObjectFromCache ($ key )
2326 {
2427 $ success = false ;
@@ -27,18 +30,27 @@ protected function fetchObjectFromCache($key)
2730 return [$ success , $ data , []];
2831 }
2932
33+ /**
34+ * {@inheritdoc}
35+ */
3036 protected function clearAllObjectsFromCache ()
3137 {
3238 return apc_clear_cache ('user ' );
3339 }
3440
41+ /**
42+ * {@inheritdoc}
43+ */
3544 protected function clearOneObjectFromCache ($ key )
3645 {
3746 apc_delete ($ key );
3847
3948 return true ;
4049 }
4150
51+ /**
52+ * {@inheritdoc}
53+ */
4254 protected function storeItemInCache (CacheItemInterface $ item , $ ttl )
4355 {
4456 if ($ ttl < 0 ) {
Original file line number Diff line number Diff line change 2727 "php" : " ^5.5|^7.0" ,
2828 "ext-apc" : " *" ,
2929 "psr/cache" : " ^1.0" ,
30- "cache/adapter-common" : " ^0.2 " ,
31- "cache/taggable-cache" : " ^0.3 "
30+ "cache/adapter-common" : " ^0.3 " ,
31+ "cache/taggable-cache" : " ^0.4 "
3232 },
3333 "require-dev" : {
3434 "phpunit/phpunit" : " ^4.0|^5.1" ,
35- "cache/integration-tests" : " 0.9.0 "
35+ "cache/integration-tests" : " ^ 0.9"
3636 },
3737 "provide" : {
3838 "psr/cache-implementation" : " ^1.0"
You can’t perform that action at this time.
0 commit comments