W3cubDocs

/CakePHP 4.1

Interface TypedResultInterface

Represents an expression that is known to return a specific type

Namespace: Cake\Database

Method Summary

Method Detail

getReturnType() public

getReturnType()

Return the abstract type this expression will return

Returns

string

setReturnType() public

setReturnType(string $type)

Set the return type of the expression

Parameters

string $type

The type name to use.

Returns

$this

© 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/4.1/interface-Cake.Database.TypedResultInterface.html