\triagens\ArangoDbValueValidator

A simple validator for values to be stored in the database


Summary

Methods
Properties
Constants
validate()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

validate()

validate(mixed $value) : void

Validate the value of a variable

Allowed value types are string, integer, double and boolean. Arrays are also allowed if they contain only one of the former types.

Parameters

mixed $value
  • value to validate

Throws

\triagens\ArangoDb\ClientException