$_typeMap
protected Creates a new TypeMap if $typeMap is an array, otherwise returns the existing type map or exchanges it for the given one.
defaultTypes( array $types null )
Allows setting default types when chaining query
$types
optional null getDefaultTypes( )
Gets default types of current type map.
getTypeMap( )
Returns the existing type map.
Cake\Database\TypeMap
setDefaultTypes( array $types )
Allows setting default types when chaining query.
$types
setTypeMap( array|Cake\Database\TypeMap $typeMap )
Creates a new TypeMap if $typeMap is an array, otherwise exchanges it for the given one.
Cake\Database\TypeMap
$typeMap
typeMap( array|Cake\Database\TypeMap|null $typeMap null )
Creates a new TypeMap if $typeMap is an array, otherwise returns the existing type map or exchanges it for the given one.
Cake\Database\TypeMap
|null $typeMap
optional null protected Cake\Database\TypeMap
© 2005–2017 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.4/class-Cake.Database.TypeMapTrait.html