Menu

## ValidatorInterface
in

ValidatorInterface.php : 12

Validator interface.

##### Tags

author

  Lucas S. Vieira

### Table of Contents

#### Methods

rules() : array<string|int, mixed>
  Rules for validation.
validate() : bool
  Validate data.

### Methods

#### rules()

ValidatorInterface.php : 19

Rules for validation.

`public rules() : array<string|int, mixed>`

##### Return values

array<string|int, mixed>

#### validate()

ValidatorInterface.php : 26

Validate data.

`public validate() : bool`

##### Return values

bool

## Search results