Skip to content

Commit 5da1afb

Browse files
committed
public constants
1 parent 1851f31 commit 5da1afb

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/Caching/Cache.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@ class Cache
2121
use Nette\SmartObject;
2222

2323
/** dependency */
24-
const PRIORITY = 'priority',
24+
public const
25+
PRIORITY = 'priority',
2526
EXPIRATION = 'expire',
2627
EXPIRE = 'expire',
2728
SLIDING = 'sliding',
@@ -33,7 +34,7 @@ class Cache
3334
ALL = 'all';
3435

3536
/** @internal */
36-
const NAMESPACE_SEPARATOR = "\x00";
37+
public const NAMESPACE_SEPARATOR = "\x00";
3738

3839
/** @var IStorage */
3940
private $storage;

0 commit comments

Comments
 (0)