Menu

## RuleInterface
in

RuleInterface.php : 12

Basic interface for validation rule.

##### Tags

author

  Lucas S. Vieira

### Table of Contents

#### Methods

isValid() : bool
  Check if a given value is valid.

### Methods

#### isValid()

RuleInterface.php : 21

Check if a given value is valid.

`public isValid(mixed $value) : bool`

##### Parameters

$value : mixed

  Value to validate.

##### Return values

bool —

True if value is valid, false otherwise.

## Search results