Arango PHP ODM

GraphValidator extends Validator

Validate the graph options values. <br> Used for avoid client errors when creating or updating graphs

Tags
author

Lucas S. Vieira

Table of Contents

Methods

__construct()  : mixed
Validator constructor.
rules()  : array<string|int, mixed>
Rules for validation.
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.

rules()

Rules for validation.

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

        
On this page

Search results