ArrayContentDetector
Read onlyYes
FinalYes
Methods
- __construct() : mixed
- firstKeyType() : IntegerType|StringType|null
- firstValueType() : null|Type<string|int, mixed>
- isList() : bool
- isMap() : bool
- isStructure() : bool
- valueType() : Type<string|int, mixed>
Methods
__construct()
public
__construct(Types $uniqueKeysType, Types $uniqueValuesType[, bool $isList = false ]) : mixed
Parameters
firstKeyType()
public
firstKeyType() : IntegerType|StringType|null
Return values
IntegerType|StringType|nullfirstValueType()
public
firstValueType() : null|Type<string|int, mixed>
Return values
null|Type<string|int, mixed>isList()
public
isList() : bool
Return values
boolisMap()
public
isMap() : bool
Return values
boolisStructure()
public
isStructure() : bool
Return values
boolvalueType()
public
valueType() : Type<string|int, mixed>