File tree Expand file tree Collapse file tree 3 files changed +7
-3
lines changed Expand file tree Collapse file tree 3 files changed +7
-3
lines changed Original file line number Diff line number Diff line change 2525interface CacheInterface
2626{
2727 /**
28+ * @param string $key The key of the item to retrieve from the cache
2829 * @param callable(ItemInterface):mixed $callback Should return the computed value for the given key/item
2930 * @param float|null $beta A float that, as it grows, controls the likeliness of triggering
3031 * early expiration. 0 disables it, INF forces immediate expiration.
Original file line number Diff line number Diff line change @@ -16,8 +16,8 @@ Design Principles
1616 * they must be backward compatible with existing Symfony components.
1717
1818Packages that implement specific contracts should list them in the "provide"
19- section of their "composer.json" file, using the ` symfony/*-contracts `
20- convention (e.g. ` "provide": { "symfony/cache-contracts": "1.0" } ` ).
19+ section of their "composer.json" file, using the ` symfony/*-contracts-implementation `
20+ convention (e.g. ` "provide": { "symfony/cache-contracts-implementation ": "1.0" } ` ).
2121
2222FAQ
2323---
Original file line number Diff line number Diff line change 2424 },
2525 "suggest" : {
2626 "psr/cache" : " When using the Cache contracts" ,
27- "psr/container" : " When using the Service contracts"
27+ "psr/container" : " When using the Service contracts" ,
28+ "symfony/cache-contracts-implementation" : " " ,
29+ "symfony/service-contracts-implementation" : " " ,
30+ "symfony/translation-contracts-implementation" : " "
2831 },
2932 "autoload" : {
3033 "psr-4" : { "Symfony\\ Contracts\\ " : " " },
You can’t perform that action at this time.
0 commit comments