PHP Class Adldap\Configuration\Validators\Validator

Show file Open project: adldap2/adldap2

Protected Properties

Property Type Description
$key string The configuration key under validation.
$value mixed The configuration value under validation.

Public Methods

Method Description
__construct ( string $key, mixed $value ) Constructor.
validate ( ) : boolean Validates the configuration value.

Method Details

__construct() public method

Constructor.
public __construct ( string $key, mixed $value )
$key string
$value mixed

validate() abstract public method

Validates the configuration value.
abstract public validate ( ) : boolean
return boolean

Property Details

$key protected property

The configuration key under validation.
protected string $key
return string

$value protected property

The configuration value under validation.
protected mixed $value
return mixed