PHP Class Gajus\Vlad\Validator

Afficher le fichier Open project: gajus/vlad Class Usage Examples

Protected Properties

Свойство Type Description
$default_options
$message
$requires_value

Méthodes publiques

Méthode Description
__construct ( array $options = [] )
assess ( mixed $value ) : boolean
getMessage ( ) : string
getOptions ( ) : array

Method Details

__construct() public méthode

public __construct ( array $options = [] )
$options array

assess() abstract public méthode

abstract public assess ( mixed $value ) : boolean
$value mixed
Résultat boolean

getMessage() public static méthode

public static getMessage ( ) : string
Résultat string

getOptions() public méthode

public getOptions ( ) : array
Résultat array

Property Details

$default_options protected_oe static_oe property

protected static $default_options

$message protected_oe static_oe property

protected static $message

$requires_value protected_oe static_oe property

protected static $requires_value