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 7846a0e commit ad0a030Copy full SHA for ad0a030
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;
@@ -402,6 +400,7 @@ public function capture(mixed $key): ?OutputHelper
402
400
*/
403
401
public function start(mixed $key): ?OutputHelper
404
{
+ trigger_error(__METHOD__ . '() was renamed to capture()', E_USER_DEPRECATED);
405
return $this->capture($key);
406
}
407
0 commit comments