Represents a collection type as described in the PSR-5, the PHPDoc Standard.
A collection can be represented in two forms:
ACollectionObject<aValueType>
ACollectionObject<aValueType,aKeyType>
- ACollectionObject can be 'array' or an object that can act as an array
- aValueType and aKeyType can be any type expression
- psalm-immutable
CloneableFinalInstantiable
Methods |
public __construct(?phpDocumentor Initializes this representation of an array with the given Type or Fqsen. |
public __toString() : string Returns a rendered output of the Type as it would be used in a DocBlock. |
public getFqsen() : ?phpDocumentor Returns the FQSEN associated with this object. |
Properties |
Properties |
private $fqsen = NULL
|