PHP Class Gajus\Vlad\Validator

Mostrar archivo Open project: gajus/vlad Class Usage Examples

Protected Properties

Property Type Description
$default_options
$message
$requires_value

Public Methods

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

Method Details

__construct() public method

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

assess() abstract public method

abstract public assess ( mixed $value ) : boolean
$value mixed
return boolean

getMessage() public static method

public static getMessage ( ) : string
return string

getOptions() public method

public getOptions ( ) : array
return 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