Interface TypedResultInterface
Represents an expression that is known to return a specific type
Direct Implementers
Method Summary
-
returnType() public
Sets the type of the value this object will generate. If called without arguments, returns the current known type
Method Detail
returnType() public ¶
returnType( string|null $type null )
Sets the type of the value this object will generate. If called without arguments, returns the current known type
Deprecated
3.5.0 Use getReturnType()/setReturnType() instead.
Parameters
- string|null $type optional null
- The name of the type that is to be returned