Copied!

Value Object representing a array-key Type.

A array-key Type is the supertype (but not a union) of int and string.

  • psalm-immutable
CloneableFinalInstantiableIterable
Methods
public __construct()
public __toString() : string
public phpDocumentor\Reflection\Types\AggregatedType::contains(phpDocumentor\Reflection\Type $type) : bool
 

Tests if this compound type contains the given type.

public phpDocumentor\Reflection\Types\AggregatedType::get(int $index) : ?phpDocumentor\Reflection\Type
 

Returns the type at the given index.

public phpDocumentor\Reflection\Types\AggregatedType::getIterator() : ArrayIterator
 
  • return \ArrayIterator<int,\Type>
public phpDocumentor\Reflection\Types\AggregatedType::has(int $index) : bool
 

Tests if this compound type has a type with the given index.

public underlyingType() : phpDocumentor\Reflection\Type
© 2024 Bruce Wells
Search Namespaces \ Classes
Configuration