ConstExpression
in package
implements
PseudoType
FinalYes
Tags
Table of Contents
Interfaces
Properties
- $expression : string
- $owner : Type
Methods
- __construct() : mixed
- __toString() : string
- Returns a rendered output of the Type as it would be used in a DocBlock.
- getExpression() : string
- getOwner() : Type
- underlyingType() : Type
Properties
$expression
private
string
$expression
$owner
private
Type
$owner
Methods
__construct()
public
__construct(Type $owner, string $expression) : mixed
Parameters
- $owner : Type
- $expression : string
__toString()
Returns a rendered output of the Type as it would be used in a DocBlock.
public
__toString() : string
Return values
stringgetExpression()
public
getExpression() : string
Return values
stringgetOwner()
public
getOwner() : Type
Return values
TypeunderlyingType()
public
underlyingType() : Type