protected function _aliasColTypes($colTypes)
    {
        $repository = $this->manager()->getRepository();
        if (!method_exists($repository, 'aliasField')) {
            return $colTypes;
        }

        $return = [];
        foreach ($colTypes as $field => $colType) {
            $return[$repository->aliasField($field)] = $colType;
        }

        return $return;
    }
protected function _aliasColTypes($colTypes)
    {
        $repository = $this->manager()->getRepository();
        if (!method_exists($repository, 'aliasField')) {
            return $colTypes;
        }

        $return = [];
        foreach ($colTypes as $field => $colType) {
            $return[$repository->aliasField($field)] = $colType;
        }

        return $return;
    }
protected function _aliasColTypes ( $ colTypes ) { $ repository = $ this -> manager ( ) -> getRepository ( ) ; if ( ! method_exists ( $ repository , 'aliasField' ) ) { return $ colTypes ; } $ return = [ ] ; foreach ( $ colTypes as $ field => $ colType ) { $ return [ $ repository -> aliasField ( $ field ) ] = $ colType ; } return $ return ; }
Alias the column type fields to match the field aliases of the conditions.

@param array $colTypes Column types to be aliased.
@return array Aliased column types.
Alias the column type fields to match the field aliases of the conditions .