src/mako/reactor/traits/CommandHelperTrait.php
protected function confirm(string $question, string $default = 'n')
	{
		return (new Confirmation($this->input, $this->output))->ask($question, $default);
	}
protected function confirm(string $question, string $default = 'n')
	{
		return (new Confirmation($this->input, $this->output))->ask($question, $default);
	}
protected function confirm ( string $ question , string $ default = 'n' ) { return ( new Confirmation ( $ this -> input , $ this -> output ) ) -> ask ( $ question , $ default ) ; }
Writes question to output and returns boolesn value corresponding to the chosen value.

@param  string $question Question to ask
@param  string $default  Default answer
@return bool
Writes question to output and returns boolesn value corresponding to the chosen value .