public function generateCommand($length = 32, $lowercase = 0)
    {
        $key = $this->random->getBase($length);
        $this->console->writeLn($lowercase ? strtolower($key) : $key);
    }
public function generateCommand($length = 32, $lowercase = 0)
    {
        $key = $this->random->getBase($length);
        $this->console->writeLn($lowercase ? strtolower($key) : $key);
    }
public function generateCommand ( $ length = 32 , $ lowercase = 0 ) { $ key = $ this -> random -> getBase ( $ length ) ; $ this -> console -> writeLn ( $ lowercase ? strtolower ( $ key ) : $ key ) ; }
generate random key

@param int $length length of key(default is 32 characters)
@param int $lowercase
generate random key