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 80ae66a commit 40dfe7aCopy full SHA for 40dfe7a
src/Caching/Cache.php
@@ -64,9 +64,7 @@ class Cache
64
public const ALL = self::All;
65
66
/** @internal */
67
- public const
68
- NamespaceSeparator = "\x00",
69
- NAMESPACE_SEPARATOR = self::NamespaceSeparator;
+ public const NamespaceSeparator = "\x00";
70
71
private Storage $storage;
72
private string $namespace;
@@ -346,6 +344,7 @@ public function capture(mixed $key): ?OutputHelper
346
344
*/
347
345
public function start($key): ?OutputHelper
348
{
+ trigger_error(__METHOD__ . '() was renamed to capture()', E_USER_DEPRECATED);
349
return $this->capture($key);
350
}
351
0 commit comments