Trait TypedResultTrait
Implements the TypedResultInterface
Namespace: Cake\Database
Properties summary
-
$_returnType protected
stringThe type name this expression will return when executed
Method Summary
-
getReturnType() public
Gets the type of the value this object will generate.
-
setReturnType() public
Sets the type of the value this object will generate.
Method Detail
getReturnType() public ¶
getReturnType()
Gets the type of the value this object will generate.
Returns
stringsetReturnType() public ¶
setReturnType(string $type)
Sets the type of the value this object will generate.
Parameters
-
string$type The name of the type that is to be returned
Returns
$this