src/Schedule.php
protected function id()
    {
        while (true) {
            $id = \uniqid('crunz', true);
            if (!\array_key_exists($id, $this->events)) {
                return $id;
            }
        }
    }
protected function id()
    {
        while (true) {
            $id = \uniqid('crunz', true);
            if (!\array_key_exists($id, $this->events)) {
                return $id;
            }
        }
    }
protected function id ( ) { while ( true ) { $ id = \ uniqid ( 'crunz' , true ) ; if ( ! \ array_key_exists ( $ id , $ this -> events ) ) { return $ id ; } } }
Generate a unique task id.

@return string
Generate a unique task id .