Arango PHP ODM

Validator
in package
implements ValidatorInterface

AbstractYes

Validator base class.<br> Implements a default validate method.

Tags
author

Lucas S. Vieira

Table of Contents

Interfaces

ValidatorInterface
Validator interface.

Methods

__construct()  : mixed
Validator constructor.
validate()  : true
Validate user data

Methods

__construct()

Validator constructor.

public __construct([array<string|int, mixed> $data = [] ]) : mixed
Parameters
$data : array<string|int, mixed> = []

Attributes to validate.


        
On this page

Search results