Validation\Validator\Identical
Class Phalcon\Validation\Validator\Identical
extends abstract class Phalcon\Validation\Validator
implements Phalcon\Validation\ValidatorInterface
Checks if a value is identical to other
use Phalcon\Validation\Validator\Identical; $validator->add( "terms", new Identical( [ "accepted" => "yes", "message" => "Terms and conditions must be accepted", ] ) ); $validator->add(