30 Commits

Author SHA1 Message Date
Thomas Calvet
3bb8fd7ecf [Cache] Pass arg to get callback everywhere 2019-06-06 08:05:05 +02:00
Fabien Potencier
fa667c9ed8 fixed CS 2019-01-16 21:35:37 +01:00
Jacek Jędrzejewski
6b9c23c869 Fix undefined variable in cache ArrayTrait 2018-12-13 14:24:29 +01:00
Nicolas Grekas
4c315fa011 [Contracts][Cache] allow retrieving metadata of cached items 2018-11-24 10:35:08 +01:00
Nicolas Grekas
cc2e281599 [Cache] add CacheInterface::delete() + improve CacheTrait 2018-10-06 16:52:09 +02:00
Nicolas Grekas
79d99173c3 [Cache] leverage Contracts\Cache 2018-09-04 09:24:06 +02:00
Pierre Rineau
552d634ba6 [Cache] ArrayAdapter and NullAdapter don't need stampede protection 2018-06-28 08:41:11 +02:00
Nicolas Grekas
9b1ae0fc37 [Cache] Improve perf of array-based pools 2018-06-15 11:22:35 +02:00
Nicolas Grekas
3ff076483e [Cache] Use sub-second accuracy for internal expiry calculations 2018-06-11 14:32:29 +02:00
Nicolas Grekas
e4c211675b [Cache] Add [Taggable]CacheInterface, the easiest way to use a cache 2018-05-18 14:27:36 +02:00
Nicolas Grekas
02007f5b69 Remove some visual debt by adding type hints on final methods/classes 2017-10-24 16:36:35 +02:00
Nicolas Grekas
589520cdff [Cache] Add ResettableInterface to allow resetting any pool's local state 2017-09-25 10:20:08 +02:00
Nicolas Grekas
afb1c1e6a7 [Cache] Move adapter implementations to traits 2017-01-23 14:57:50 +01:00
Nicolas Grekas
3df17af671 [Cache] Minor fixes after merging 3.1 2016-08-16 18:59:36 +02:00
Nicolas Grekas
2bb9d84f49 Merge branch '3.1'
* 3.1:
  [Routing] Add missing options in docblock
  [VarDumper] Fix dumping continuations
  [PropertyInfo] Fix an error in PropertyInfoCacheExtractor
  [HttpFoundation] fixed Request::getContent() reusage bug
  [Form] Skip CSRF validation on form when POST max size is exceeded
  Use try-finally where it possible
  [DependencyInjection] ContainerBuilder: Remove obsolete definitions
  Enhance the phpDoc return types so IDEs can handle the configuration tree.
  fixes
  Remove 3.0 from branch suggestions for fixes in PR template
  [Process] Strengthen Windows pipe files opening (again...)
  [Cache] Handle unserialize() failures gracefully
  Fix #19531 [Form] DateType fails parsing when midnight is not a valid time
2016-08-16 18:09:30 +02:00
Nicolas Grekas
876d7df95e [Cache] Handle unserialize() failures gracefully 2016-08-10 19:24:03 +02:00
Titouan Galopin
1b2d343047 [FrameworkBundle] Wire PhpArrayAdapter with a new cache warmer for annotations 2016-07-30 03:40:00 -04:00
Nicolas Grekas
0c90225b00 [Cache] Fix default lifetime being ignored 2016-07-27 10:15:52 +02:00
Fabien Potencier
cf3e5492b0 fixed CS 2016-06-29 07:42:25 +02:00
Nicolas Grekas
0f37c77a29 [Cache] Fix double fetch in ProxyAdapter 2016-06-14 07:54:16 +02:00
Christian Flothmann
44f7b447de [Cache] fix expiration handling in ArrayAdapter 2016-04-24 19:31:20 +02:00
Nicolas Grekas
3cdf60a21c [Cache] Test & tweak CacheItem::validateKey() 2016-04-20 18:47:41 +02:00
Nicolas Grekas
75eb1edb6b [Cache] Add CacheItem::validateKey utility method 2016-04-20 11:19:01 +02:00
Kévin Dunglas
94636944d2 [Cache] Add a Chain adapter 2016-03-17 09:39:21 +01:00
Nicolas Grekas
ecd6de79ca [Cache] Fix expiries handling 2016-02-08 08:22:02 +01:00
Nicolas Grekas
68a3876a4e [Cache] Don't clone, serialize 2016-02-03 09:37:11 +01:00
Nicolas Grekas
6c6112856b [Cache] Handle and log errors properly 2016-01-25 20:18:55 +01:00
Aurimas Niekis
9176551b4c [Cache] Use generator in ArrayAdapter 2016-01-25 15:49:11 +01:00
Nicolas Grekas
051eb447c1 [Cache] Allow and use generators in AbstractAdapter 2016-01-20 10:11:05 +01:00
Nicolas Grekas
7155447243 [Cache] Symfony PSR-6 implementation 2016-01-19 08:02:17 +01:00