File
- drupal/core/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/Profiler/BaseMemcacheProfilerStorage.php, line 297
Class
- BaseMemcacheProfilerStorage
- Base Memcache storage for profiling information in a Memcache.
Namespace
Symfony\Component\HttpKernel\Profiler
Code
private function isItemNameValid($name) {
$length = strlen($name);
if ($length > 250) {
throw new \RuntimeException(sprintf('The memcache item key "%s" is too long (%s bytes). Allowed maximum size is 250 bytes.', $name, $length));
}
return true;
}