Copied!

Value Object representing iterable type

  • psalm-immutable
CloneableFinalInstantiable
Methods
public phpDocumentor\Reflection\Types\AbstractList::__construct(?phpDocumentor\Reflection\Type $valueType = NULL, ?phpDocumentor\Reflection\Type $keyType = NULL)
 

Initializes this representation of an array with the given Type.

public __toString() : string
 

Returns a rendered output of the Type as it would be used in a DocBlock.

public phpDocumentor\Reflection\Types\AbstractList::getKeyType() : phpDocumentor\Reflection\Type
 

Returns the type for the keys of this array.

public phpDocumentor\Reflection\Types\AbstractList::getValueType() : phpDocumentor\Reflection\Type
 

Returns the type for the values of this array.

Properties
protected phpDocumentor\Reflection\Types\AbstractList::$defaultKeyType = NULL
 
  • var \Type
protected phpDocumentor\Reflection\Types\AbstractList::$keyType = NULL
 
  • var \Type|null
protected phpDocumentor\Reflection\Types\AbstractList::$valueType = NULL
 
  • var \Type
© 2024 Bruce Wells
Search Namespaces \ Classes
Configuration