Snc\RedisBundle\Profiler\Storage\RedisProfilerStorage::isItemNameValid PHP Метод

isItemNameValid() защищенный Метод

Check if the item name is valid.
protected isItemNameValid ( string $name ) : boolean
$name string
Результат boolean
    protected function isItemNameValid($name)
    {
        $length = strlen($name);
        if ($length > 2147483648) {
            throw new \RuntimeException(sprintf('The Redis item key "%s" is too long (%s bytes). Allowed maximum size is 2^31 bytes.', $name, $length));
        }
        return true;
    }