Trait TypeMapTrait
Direct Users
Indirect Users
Properties summary
-  $_typeMapprotected
Method Summary
-  defaultTypes() publicAllows setting default types when chaining query
-  typeMap() publicCreates a new TypeMap if $typeMap is an array, otherwise returns the existing type map or exchanges it for the given one. 
Method Detail
defaultTypes()source public
defaultTypes( array $types null )
Allows setting default types when chaining query
Parameters
-  array $typesoptional null
- The array of types to set.
Returns
$this|array
typeMap()source public
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.
Parameters
-  array|Cake\Database\TypeMap|null$typeMapoptional null
- Creates a TypeMap if array, otherwise sets the given TypeMap
Returns
$this|\Cake\Database\TypeMap
Properties detail
$_typeMapsource
 protected Cake\Database\TypeMap 
    © 2005–2016 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.
    http://api.cakephp.org/3.2/class-Cake.Database.TypeMapTrait.html