Value Object representing the 'numeric' pseudo-type, which is either a numeric-string, integer or float.

  • psalm-immutable
public __construct()
public __toString() : string

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

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
© 2023 Bruce Wells
Search Namespaces \ Classes