\FACTFinder\DataAdvisorQuestion

Summary

Methods
Properties
Constants
__construct()
getText()
addAnswers()
hasAnswers()
getAnswers()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
$text
$answer
N/A

Properties

$text

$text : string

Type

string

Methods

__construct()

__construct(string  $text, array<mixed,\FACTFinder\Data\AdvisorAnswer>  $answers = array()) 

Parameters

string $text
array<mixed,\FACTFinder\Data\AdvisorAnswer> $answers

getText()

getText() : string

Returns

string

hasAnswers()

hasAnswers() : boolean

Returns

boolean —

True, if at least one answer exists.