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 9f939c2 commit 067bca6Copy full SHA for 067bca6
src/Caching/Cache.php
@@ -65,9 +65,7 @@ class Cache
65
public const ALL = self::All;
66
67
/** @internal */
68
- public const
69
- NamespaceSeparator = "\x00",
70
- NAMESPACE_SEPARATOR = self::NamespaceSeparator;
+ public const NamespaceSeparator = "\x00";
71
72
private Storage $storage;
73
private string $namespace;
@@ -386,6 +384,7 @@ public function capture(mixed $key): ?OutputHelper
386
384
*/
387
385
public function start($key): ?OutputHelper
388
{
+ trigger_error(__METHOD__ . '() was renamed to capture()', E_USER_DEPRECATED);
389
return $this->capture($key);
390
}
391
0 commit comments