protected function proceedingAllowed(): bool
    {
        if ($this->input->getOption('no-interaction')) {
            return true;
        }

        return $this->getHelper('question')->ask($this->input, $this->output, new ConfirmationQuestion('<question>Are you sure you wish to flush the whole database? (y/n)</question>', false));
    }
protected function proceedingAllowed(): bool
    {
        if ($this->input->getOption('no-interaction')) {
            return true;
        }

        return $this->getHelper('question')->ask($this->input, $this->output, new ConfirmationQuestion('<question>Are you sure you wish to flush the whole database? (y/n)</question>', false));
    }
protected function proceedingAllowed ( ) : bool { if ( $ this -> input -> getOption ( 'no-interaction' ) ) { return true ; } return $ this -> getHelper ( 'question' ) -> ask ( $ this -> input , $ this -> output , new ConfirmationQuestion ( '<question>Are you sure you wish to flush the whole database? (y/n)</question>' , false ) ) ; }
Checks if either the no-interaction option was chosen or asks the user to proceed

@return boolean true if either no-interaction was chosen or the user wants to proceed
Checks if either the no - interaction option was chosen or asks the user to proceed