Expression
in package
implements
Type
FinalYes
Represents an expression type as described in the PSR-5, the PHPDoc Standard.
Tags
Table of Contents
Interfaces
Properties
Methods
- __construct() : mixed
- Initializes this representation of an array with the given Type.
- __toString() : string
- Returns a rendered output of the Type as it would be used in a DocBlock.
- getValueType() : Type
- Returns the value for the keys of this array.
Properties
$valueType
protected
Type
$valueType
Methods
__construct()
Initializes this representation of an array with the given Type.
public
__construct(Type $valueType) : mixed
Parameters
- $valueType : Type
__toString()
Returns a rendered output of the Type as it would be used in a DocBlock.
public
__toString() : string
Return values
stringgetValueType()
Returns the value for the keys of this array.
public
getValueType() : Type