AbstractList
in package
implements
Type
Represents a list of values. This is an abstract class for Array_ and Collection.
Tags
Interfaces, Classes, Traits and Enums
Table of Contents
- $defaultKeyType : Type
- $keyType : Type|null
- $valueType : Type
- __construct() : mixed
- Initializes this representation of an array with the given Type.
- __toString() : string
- Returns a rendered output of the Type as it would be used in a DocBlock.
- getKeyType() : Type
- Returns the type for the keys of this array.
- getValueType() : Type
- Returns the value for the keys of this array.
Properties
$defaultKeyType
protected
Type
$defaultKeyType
$keyType
protected
Type|null
$keyType
$valueType
protected
Type
$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
Return values
mixed —__toString()
Returns a rendered output of the Type as it would be used in a DocBlock.
public
__toString() : string
Return values
string —getKeyType()
Returns the type for the keys of this array.
public
getKeyType() : Type
Return values
Type —getValueType()
Returns the value for the keys of this array.
public
getValueType() : Type