Trait TypedResultTrait
Implements the TypedResultInterface
Namespace: Cake\Database
Property Summary
-
$_returnType protected
string
The type name this expression will return when executed
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): string|$this
Sets the type of the value this object will generate. If called without arguments, returns the current known type
Parameters
-
string|null
$type optional The name of the type that is to be returned
Returns
string|$this