Validator
    
            
            in package
            
        
    
    
    
        
            Permite validar distintos tipos de datos.
Table of Contents
- alphaNumeric() : bool
 - Devuelve true si $text contiene solamente números, letras y los caracteres $extra.
 - email() : bool
 - Devuelve true si el email es válido
 - string() : bool
 - Devuelve true si la cadena tiene entre $min y $max caracteres
 - url() : bool
 - Devuelve true si la $url es válida.
 
Methods
alphaNumeric()
Devuelve true si $text contiene solamente números, letras y los caracteres $extra.
    public
            static        alphaNumeric(string $text[, string $extra = '' ][, int $min = 1 ][, int $max = 99 ]) : bool
        También comprueba si la longitud de $text está entre $min y $max.
Parameters
- $text : string
 - $extra : string = ''
 - $min : int = 1
 - $max : int = 99
 
Return values
bool —email()
Devuelve true si el email es válido
    public
            static        email(string $email) : bool
    
        Parameters
- $email : string
 
Return values
bool —string()
Devuelve true si la cadena tiene entre $min y $max caracteres
    public
            static        string(string $text[, int $min = 1 ][, int $max = 99 ]) : bool
    
        Parameters
- $text : string
 - $min : int = 1
 - $max : int = 99
 
Return values
bool —url()
Devuelve true si la $url es válida.
    public
            static        url(string $url[, bool $strict = false ]) : bool
        Si $strict es true, entonces la url debe comenzar por http, https o cualquier otro protocolo válido.
Parameters
- $url : string
 - $strict : bool = false