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 f9bbaf0 commit 62242c9Copy full SHA for 62242c9
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;
@@ -385,6 +383,7 @@ public function capture(mixed $key): ?OutputHelper
385
383
*/
386
384
public function start($key): ?OutputHelper
387
{
+ trigger_error(__METHOD__ . '() was renamed to capture()', E_USER_DEPRECATED);
388
return $this->capture($key);
389
}
390
0 commit comments