Oihana PHP System

rules

Table of Contents

Namespaces

abstracts
geo
helpers
models

Classes

ColorRule
Rule: Ensures that a given value matches a valid color expression (e.g. "#ff0000").
ConstantsRule
Rule: Validates that a given value is part of the constants defined in a class using {@see ConstantsTrait}.
EqualRule
Validation rule that ensures a given value is **equal to** another field's value or to a fixed numeric constant.
GreaterThanOrEqualRule
Validation rule that ensures a given value is **greater than or equal to** another field's value or to a fixed numeric constant.
GreaterThanRule
Validation rule that ensures a given value is **greater than or equal to** another field's value or to a fixed numeric constant.
InstanceOfRule
Ensures that a given value is instance of the specified class name.
ISO8601DateRule
Validates whether a given value is a valid ISO 8601 date or datetime expression.
JWTAlgorithmRule
Rule: Validates that a given value is a supported JSON Web Token (JWT) signing algorithm as defined in {@see JWTAlgorithm}.
LessThanOrEqualRule
Validation rule that ensures a given value is **less than or equal to** another field's value or to a fixed numeric constant.
LessThanRule
Validation rule that ensures a given value is **less than** another field's value or to a fixed numeric constant.
PostalCodeRule
Validates a postal code for a given country.
RangeRule
Validates that a numeric value lies between a minimum and a maximum value (inclusive).
StartsWithRule
Rule: Ensures that a given value starts with a specified prefix.

        
On this page

Search results