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();
    }