DoDomuDojade Documentation

ModuleValidationHelper
in package

Read onlyYes
FinalYes

Helper class for validating modules

Table of Contents

Properties

$validator  : ModuleBusinessValidator

Methods

__construct()  : mixed
validateEndTime()  : void
validateId()  : void
validateStartTime()  : void
validateStartTimeNotGreaterThanEndTime()  : void
Validates that start time is not greater than end time

Properties

Methods

validateStartTimeNotGreaterThanEndTime()

Validates that start time is not greater than end time

public validateStartTimeNotGreaterThanEndTime(DateTimeImmutable $startTime, DateTimeImmutable $endTime) : void
Parameters
$startTime : DateTimeImmutable
$endTime : DateTimeImmutable
Tags
throws
ModuleException

        
On this page

Search results