RulesChecker
in package
implements RuleVerifyInterface

Interfaces, Classes and Traits

RuleVerifyInterface

Table of Contents

$bufferRules  : BufferRulesList
$customRules  : CustomRules
$reservationRules  : ReservationRules
__construct()  : mixed
bufferRules()  : BufferRulesList
customRules()  : CustomRules
getData()  : array<string|int, mixed>
reservationRules()  : ReservationRules
verify()  : bool

Properties

$bufferRules

protected BufferRulesList $bufferRules
Tags
since
3.9

$customRules

protected CustomRules $customRules

$reservationRules

protected ReservationRules $reservationRules

Methods

customRules()

public customRules() : CustomRules
Return values
CustomRules

getData()

public getData() : array<string|int, mixed>
Return values
array<string|int, mixed>

verify()

public verify(DateTime $checkInDate, DateTime $checkOutDate, int $roomTypeId) : bool
Parameters
$checkInDate : DateTime
$checkOutDate : DateTime
$roomTypeId : int
Return values
bool

Search results