protected static function _getCommandLowerNameAndThrowIfNotPresent($name)
    {
        $lowerName = strtolower($name);

        if (!isset(self::$_commands[$lowerName])) {
            throw new Rediska_Exception("Command '$name' not found");
        }

        return $lowerName;
    }
protected static function _getCommandLowerNameAndThrowIfNotPresent($name)
    {
        $lowerName = strtolower($name);

        if (!isset(self::$_commands[$lowerName])) {
            throw new Rediska_Exception("Command '$name' not found");
        }

        return $lowerName;
    }
protected static function _getCommandLowerNameAndThrowIfNotPresent ( $ name ) { $ lowerName = strtolower ( $ name ) ; if ( ! isset ( self :: $ _commands [ $ lowerName ] ) ) { throw new Rediska_Exception ( "Command '$name' not found" ) ; } return $ lowerName ; }
Get command lower name and throw exception if command not present

@param <type> $name
@return <type>
Get command lower name and throw exception if command not present