private function random()
    {
        $characters = 'abcdefghijklmnopqrstuvwxyz';

        $id = '';

        while (strlen($id) < 7 || in_array($id, array_keys($this->_commands))) {
            $id .= $characters[rand(0, strlen($characters) - 1)];
        }

        return $id;
    }
private function random()
    {
        $characters = 'abcdefghijklmnopqrstuvwxyz';

        $id = '';

        while (strlen($id) < 7 || in_array($id, array_keys($this->_commands))) {
            $id .= $characters[rand(0, strlen($characters) - 1)];
        }

        return $id;
    }
private function random ( ) { $ characters = 'abcdefghijklmnopqrstuvwxyz' ; $ id = '' ; while ( strlen ( $ id ) < 7 || in_array ( $ id , array_keys ( $ this -> _commands ) ) ) { $ id .= $ characters [ rand ( 0 , strlen ( $ characters ) - 1 ) ] ; } return $ id ; }
Convinence function to generate a random name for each command that will be sent to the server.
@return string
Convinence function to generate a random name for each command that will be sent to the server .