Trait TypedResultTrait
Implements the TypedResultInterface
Namespace: Cake\Database
Properties summary
- $_returnType protected
string
The type name this expression will return when executed
Method Summary
Method Detail
getReturnType() public
getReturnType()
Gets the type of the value this object will generate.
Returns
string
returnType() public
returnType(mixed $type)
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
setReturnType() public
setReturnType(mixed $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
Property Detail
$_returnType protected
The type name this expression will return when executed
Type
string
© 2005–present The Cake Software Foundation, Inc.
Licensed under the MIT License.
CakePHP is a registered trademark of Cake Software Foundation, Inc.
We are not endorsed by or affiliated with CakePHP.
https://api.cakephp.org/3.9/trait-Cake.Database.TypedResultTrait.html