AbstractList
in package
implements
Type
AbstractYes
Represents a list of values. This is an abstract class for Array_ and List_.
Tags
Table of Contents
Interfaces
Properties
- $defaultKeyType : Type
- $defaultValueType : Type
- $keyType : Type|null
- $valueType : Type|null
Methods
- __construct() : mixed
- Initializes this representation of an array with the given Type.
- getKeyType() : Type
- Returns the type for the keys of this array.
- getOriginalKeyType() : Type|null
- getOriginalValueType() : Type|null
- getValueType() : Type
- Returns the type for the values of this array.
Properties
$defaultKeyType
protected
Type
$defaultKeyType
$defaultValueType
protected
Type
$defaultValueType
$keyType
protected
Type|null
$keyType
$valueType
protected
Type|null
$valueType
Methods
__construct()
Initializes this representation of an array with the given Type.
public
__construct([Type|null $valueType = null ][, Type|null $keyType = null ]) : mixed
Parameters
getKeyType()
Returns the type for the keys of this array.
public
getKeyType() : Type
Return values
TypegetOriginalKeyType()
public
getOriginalKeyType() : Type|null
Return values
Type|nullgetOriginalValueType()
public
getOriginalValueType() : Type|null
Return values
Type|nullgetValueType()
Returns the type for the values of this array.
public
getValueType() : Type