PHP Classes

File: src/Validator/ValidatorInterface.php

Recommend this page to a friend!
  Packages of Derek McLean   HTML Forms   src/Validator/ValidatorInterface.php   Download  
File: src/Validator/ValidatorInterface.php
Role: Class source
Content type: text/plain
Description: Class source
Class: HTML Forms
Generate and validate submitted HTML forms
Author: By
Last change:
Date: 8 years ago
Size: 484 bytes
 

 

Contents

Class file image Download
<?php
/**
 * User: delboy1978uk
 * Date: 27/11/2016
 * Time: 13:43
 */

namespace Del\Form\Validator;

use Exception;
use Zend\Validator\ValidatorInterface as ZendValidatorInterface;

interface ValidatorInterface extends ZendValidatorInterface
{
    /**
     * @param  mixed $value
     * @return bool
     * @throws Exception If validation of $value is impossible
     */
    public function isValid($value);

    /**
     * @return array
     */
    public function getMessages();
}