/** * Show the confirmation message and return result. * * @return bool */ public function show() { $char = parent::show(); if ($this->ignoreCase) { $response = strtolower($char) === strtolower($this->yesChar); } else { $response = $char === $this->yesChar; } return $this->lastResponse = $response; }
/** * Show the confirmation message and return result. * * @return bool */ public function show() { $response = parent::show() === $this->yesChar; return $this->lastResponse = $response; }