class Result implements ResultInterface (View source)

Properties

protected $id
protected $task
protected $findings
protected $dateStarted
protected $dateCompleted
protected $score
protected $grade
protected $name

Methods

mixed
getId()

No description

Task|null
getTask()

No description

void
setTask(mixed $task)

No description

mixed
getName()

No description

void
setName(mixed $name)

No description

void
setDateStarted(mixed $dateStarted)

No description

void
setDateCompleted(mixed $dateCompleted)

No description

int
getTotalFindings()

No description

getDateStarted($mask = null)

No description

getDateCompleted($mask = null)

No description

getFindings()

No description

array
getWeightedFindings()

Returns all findings for the current report result, but weights them, with items by type coming in the following positions

mixed
getScore()

No description

void
setScore(mixed $score)

No description

void
setGrade(mixed $grade)

No description

mixed
getRawGrade()

No description

GradeInterface|null
getGrade()

No description

getFormatter()

No description

Details

mixed getId()

No description

Return Value

mixed

Task|null getTask()

No description

Return Value

Task|null

void setTask(mixed $task)

No description

Parameters

mixed $task

Return Value

void

mixed getName()

No description

Return Value

mixed

void setName(mixed $name)

No description

Parameters

mixed $name

Return Value

void

void setDateStarted(mixed $dateStarted)

No description

Parameters

mixed $dateStarted

Return Value

void

void setDateCompleted(mixed $dateCompleted)

No description

Parameters

mixed $dateCompleted

Return Value

void

int getTotalFindings()

No description

Return Value

int

getDateStarted($mask = null)

No description

Parameters

$mask

getDateCompleted($mask = null)

No description

Parameters

$mask

Finding[] getFindings()

No description

Return Value

Finding[]

array getWeightedFindings()

Returns all findings for the current report result, but weights them, with items by type coming in the following positions

AlertFinding WarningFinding SuccessFinding InfoFinding

Return Value

array

mixed getScore()

No description

Return Value

mixed

void setScore(mixed $score)

No description

Parameters

mixed $score

Return Value

void

void setGrade(mixed $grade)

No description

Parameters

mixed $grade

Return Value

void

mixed getRawGrade()

No description

Return Value

mixed

GradeInterface|null getGrade()

No description

Return Value

GradeInterface|null

FormatterInterface getFormatter()

No description

Return Value

FormatterInterface