Validation\Validator\InclusionIn
Class Phalcon\Validation\Validator\InclusionIn
extends abstract class Phalcon\Validation\Validator
implements Phalcon\Validation\ValidatorInterface
Check if a value is included into a list of values
use Phalcon\Validation\Validator\InclusionIn; $validator->add( "status", new InclusionIn( [ "message" => "The status must be A or B", "domain" => ["A", "B"], ] ) ); $valida