Subversion-Projekte lars-tiefland.laravel_shop

Revision

Details | Letzte Änderung | Log anzeigen | RSS feed

Revision Autor Zeilennr. Zeile
148 lars 1
<?php
2
 
3
namespace Egulias\EmailValidator\Result;
4
 
5
interface Result
6
{
7
    /**
8
     * Is validation result valid?
9
     */
10
    public function isValid() : bool;
11
 
12
    /**
13
     * Is validation result invalid?
14
     * Usually the inverse of isValid()
15
     */
16
    public function isInvalid() : bool;
17
 
18
    /**
19
     * Short description of the result, human readable.
20
     */
21
    public function description() : string;
22
 
23
    /**
24
     * Code for user land to act upon.
25
     */
26
    public function code() : int;
27
}