StructureChecker
FinalYes
Table of Contents
Constants
- TYPE_ARRAY_OF_STRING = 11
- TYPE_BOOLEAN = 13
- TYPE_ENUM = 12
- TYPE_INT = 8
- TYPE_INT_POSITIVE = 10
- TYPE_STRING = 9
Methods
- __construct() : mixed
- check() : mixed
Constants
TYPE_ARRAY_OF_STRING
public
mixed
TYPE_ARRAY_OF_STRING
= 11
TYPE_BOOLEAN
public
mixed
TYPE_BOOLEAN
= 13
TYPE_ENUM
public
mixed
TYPE_ENUM
= 12
TYPE_INT
public
mixed
TYPE_INT
= 8
TYPE_INT_POSITIVE
public
mixed
TYPE_INT_POSITIVE
= 10
TYPE_STRING
public
mixed
TYPE_STRING
= 9
Methods
__construct()
public
__construct(array<string|int, mixed> $standard) : mixed
Parameters
- $standard : array<string|int, mixed>
check()
public
check(mixed $structure[, mixed $initial = false ]) : mixed
Parameters
- $structure : mixed
- $initial : mixed = false