TypedResultTrait
Implements the TypedResultInterface
Table of Contents
Properties
- $_returnType : string
- The type name this expression will return when executed
Methods
- getReturnType() : string
- Gets the type of the value this object will generate.
- setReturnType() : $this
- Sets the type of the value this object will generate.
Properties
$_returnType
The type name this expression will return when executed
protected
string
$_returnType
= 'string'
Methods
getReturnType()
Gets the type of the value this object will generate.
public
getReturnType() : string
Return values
stringsetReturnType()
Sets the type of the value this object will generate.
public
setReturnType(string $type) : $this
Parameters
- $type : string
-
The name of the type that is to be returned