public function selectTypeMap(TypeMap $typeMap = null)
    {
        deprecationWarning(
            'Query::selectTypeMap() is deprecated. ' .
            'Use Query::setSelectTypeMap()/getSelectTypeMap() instead.'
        );
        if ($typeMap !== null) {
            return $this->setSelectTypeMap($typeMap);
        }

        return $this->getSelectTypeMap();
    }
public function selectTypeMap(TypeMap $typeMap = null)
    {
        deprecationWarning(
            'Query::selectTypeMap() is deprecated. ' .
            'Use Query::setSelectTypeMap()/getSelectTypeMap() instead.'
        );
        if ($typeMap !== null) {
            return $this->setSelectTypeMap($typeMap);
        }

        return $this->getSelectTypeMap();
    }
public function selectTypeMap ( TypeMap $ typeMap = null ) { deprecationWarning ( 'Query::selectTypeMap() is deprecated. ' . 'Use Query::setSelectTypeMap()/getSelectTypeMap() instead.' ) ; if ( $ typeMap !== null ) { return $ this -> setSelectTypeMap ( $ typeMap ) ; } return $ this -> getSelectTypeMap ( ) ; }
Sets the TypeMap class where the types for each of the fields in the
select clause are stored.

When called with no arguments, the current TypeMap object is returned.

@deprecated 3.4.0 Use setSelectTypeMap()/getSelectTypeMap() instead.
@param \Cake\Database\TypeMap|null $typeMap The map object to use
@return $this|\Cake\Database\TypeMap
Sets the TypeMap class where the types for each of the fields in the select clause are stored .