CRUDUI PHP API

BoundFrom
in package

FinalYes

The bound of the minFrom and maxFrom rules (CUVR-079): a finite number value against the value of the referenced field; a missing or null bound declares none, and a boolean is no number.

Table of Contents

Methods

holds()  : bool
Whether `$value` holds against the bound `$reference` by `$within`.

Methods

holds()

Whether `$value` holds against the bound `$reference` by `$within`.

public static holds(mixed $value, mixed $reference, callable(float, float): bool $within) : bool
Parameters
$value : mixed
$reference : mixed
$within : callable(float, float): bool
Return values
bool
On this page

Search results