API Documentation (v0.9.0-alpha)

Avolutions\Validation\ValidatorInterface

An interface which declares the base methods for Validators.

Methods

Method Visibility Description
isValid() public Checks if the passed value is valid considering the validator type and passed options.

Method Details

isValid()

Checks if the passed value is valid considering the validator type and passed options.

public isValid(mixed $value) : bool
Parameters

mixed $value
The value to validate.

Return values
bool Checks if the passed value is valid considering the validator type and passed options.