public function failToClose($failToClose = null, $message = '')
    {
        if (is_null($failToClose)) {
            return $this->failToClose;
        }

        $this->failToClose = $failToClose;
        $this->closeMessage = $message ? $message : $this->closeMessage;

        return $this;
    }
public function failToClose($failToClose = null, $message = '')
    {
        if (is_null($failToClose)) {
            return $this->failToClose;
        }

        $this->failToClose = $failToClose;
        $this->closeMessage = $message ? $message : $this->closeMessage;

        return $this;
    }
public function failToClose ( $ failToClose = null , $ message = '' ) { if ( is_null ( $ failToClose ) ) { return $ this -> failToClose ; } $ this -> failToClose = $ failToClose ; $ this -> closeMessage = $ message ? $ message : $ this -> closeMessage ; return $ this ; }
If validate fail, whether close application or not.

@param   boolean $failToClose TRUE or FALSE, if is NULL, will be getter of $failToClose property.
@param   string  $message     Message when close.

@return  ValidatePrompter  Return self to support chaining.

@since   2.0
If validate fail whether close application or not .