FrequentlyAskedQuestion
in package
Represents frequently asked questions
Table of Contents
- $answer : string
- $id : int
- $question : string
- __construct() : mixed
- getAnswer() : string
- Get answer
- getId() : int
- Get FAQ id
- getQuestion() : string
- Get question
- setAnswer() : void
- Set answer
- setQuestion() : void
- Set question
Properties
$answer
private
string
$answer
$id
private
int
$id
$question
private
string
$question
Methods
__construct()
public
__construct(int $id, string $question, string $answer) : mixed
Parameters
- $id : int
- $question : string
- $answer : string
Return values
mixed —getAnswer()
Get answer
public
getAnswer() : string
Return values
string —getId()
Get FAQ id
public
getId() : int
Return values
int —getQuestion()
Get question
public
getQuestion() : string
Return values
string —setAnswer()
Set answer
public
setAnswer(string $answer) : void
Parameters
- $answer : string
Return values
void —setQuestion()
Set question
public
setQuestion(string $question) : void
Parameters
- $question : string