We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5eed70e commit f0fac42Copy full SHA for f0fac42
1 file changed
src/Caching/Cache.php
@@ -63,9 +63,7 @@ class Cache
63
public const ALL = self::All;
64
65
/** @internal */
66
- public const
67
- NamespaceSeparator = "\x00",
68
- NAMESPACE_SEPARATOR = self::NamespaceSeparator;
+ public const NamespaceSeparator = "\x00";
69
70
private Storage $storage;
71
private string $namespace;
@@ -391,6 +389,7 @@ public function capture(mixed $key): ?OutputHelper
391
389
*/
392
390
public function start(mixed $key): ?OutputHelper
393
{
+ trigger_error(__METHOD__ . '() was renamed to capture()', E_USER_DEPRECATED);
394
return $this->capture($key);
395
}
396
0 commit comments