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