Mental Space

ReportValidator
in package

FinalYes

Service.

Table of Contents

Properties

$repository  : ReportRepository
$validationFactory  : ValidationFactory

Methods

__construct()  : mixed
The constructor.
validateReport()  : void
Validate new report.
createValidator()  : Validator
Create validator.

Properties

Methods

validateReport()

Validate new report.

public validateReport(array<string|int, mixed> $data) : void
Parameters
$data : array<string|int, mixed>

The data

Tags
throws
ValidationException

createValidator()

Create validator.

private createValidator() : Validator
Return values
Validator

The validator


        
On this page

Search results