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;
    }
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;
    }
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 ; }
Check if the item name is valid.

@param  string            $name
@throws \RuntimeException
@return bool
Check if the item name is valid .