private function setQuestion($questionId)
    {
        $this->session->set('question', $questionId);

        if (!is_null($this->getUserConfiguration()->getTimePerQuestion())) {
            $this->session->set('question_timeout', new \DateTime());
        }

        return $this;
    }
private function setQuestion($questionId)
    {
        $this->session->set('question', $questionId);

        if (!is_null($this->getUserConfiguration()->getTimePerQuestion())) {
            $this->session->set('question_timeout', new \DateTime());
        }

        return $this;
    }
private function setQuestion ( $ questionId ) { $ this -> session -> set ( 'question' , $ questionId ) ; if ( ! is_null ( $ this -> getUserConfiguration ( ) -> getTimePerQuestion ( ) ) ) { $ this -> session -> set ( 'question_timeout' , new \ DateTime ( ) ) ; } return $ this ; }
Set question id

@param integer $questionId

@return $this
Set question id