\ValidFormBuilderComparison

Comparison class

A comparison object is part of a condition and represents a single value comparison.

Summary

Methods
Properties
Constants
__construct()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

__construct()

__construct(\ValidFormBuilder\Base  $objSubject, integer  $varComparison, string  $varValue = null) 

Create new Comparison

Parameters

\ValidFormBuilder\Base $objSubject

The subject to check the value upon

integer $varComparison

The Comparison type constant

string $varValue

The value to check against

Throws

\InvalidArgumentException
\Exception