Value Object representing the type 'list'.

  • psalm-immutable
Cloneable Final Instantiable
Methods
public __construct ( ? phpDocumentor\Reflection\Type $valueType = NULL )
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 value for the keys of this array.

public underlyingType () : phpDocumentor\Reflection\Type
Properties
protected phpDocumentor\Reflection\Types\AbstractList :: $defaultKeyType
 
  • var Type
protected phpDocumentor\Reflection\Types\AbstractList :: $keyType
 
  • var Type | null
protected phpDocumentor\Reflection\Types\AbstractList :: $valueType
 
  • var Type
© 2022 Bruce Wells
Search Namespaces \ Classes
Configuration