src/SagePHP/System/Dialog/PromptDialog.php
public function setQuestion($question)
    {
        if (false === is_string($question)) {
            throw new \InvalidArgumentException('Question should be a string');
        }

        $this->question = trim($question) . " " ;

        return $this;
    }
public function setQuestion($question)
    {
        if (false === is_string($question)) {
            throw new \InvalidArgumentException('Question should be a string');
        }

        $this->question = trim($question) . " " ;

        return $this;
    }
public function setQuestion ( $ question ) { if ( false === is_string ( $ question ) ) { throw new \ InvalidArgumentException ( 'Question should be a string' ) ; } $ this -> question = trim ( $ question ) . " " ; return $ this ; }
Sets the value of question.

@param string $question the question

@return self
Sets the value of question .