8000 [Cache] Added reserved characters constant for CacheItem · symfony/cache-contracts@6903146 · GitHub
[go: up one dir, main page]

Skip to content

Commit 6903146

Browse files
andyexeterfabpot
authored andcommitted
[Cache] Added reserved characters constant for CacheItem
1 parent 8ce952b commit 6903146

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

ItemInterface.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,11 @@ interface ItemInterface extends CacheItemInterface
3737
*/
3838
const METADATA_TAGS = 'tags';
3939

40+
/**
41+
* Reserved characters that cannot be used in a key or tag.
42+
*/
43+
const RESERVED_CHARACTERS = '{}()/\@:';
44+
4045
/**
4146
* Adds a tag to a cache item.
4247
*

0 commit comments

Comments
 (0)
0