Merge pull request #15826 from seamuslee001/dev_core_183_dedupe
[civicrm-core.git] / CRM / Utils / Geocode.php
CommitLineData
635f0b86
TO
1<?php
2/*
3 +--------------------------------------------------------------------+
bc77d7c0 4 | Copyright CiviCRM LLC. All rights reserved. |
635f0b86 5 | |
bc77d7c0
TO
6 | This work is published under the GNU AGPLv3 license with some |
7 | permitted exceptions and without any warranty. For full license |
8 | and copyright information, see https://civicrm.org/licensing |
635f0b86
TO
9 +--------------------------------------------------------------------+
10 */
11
50bfb460
SB
12/**
13 *
14 * @package CRM
ca5cec67 15 * @copyright CiviCRM LLC https://civicrm.org/licensing
50bfb460
SB
16 */
17
635f0b86
TO
18/**
19 * Class CRM_Utils_Geocode
20 */
21class CRM_Utils_Geocode {
22
23 /**
f26a91e3
FG
24 * @deprecated
25 *
26 * @todo Remove this method. In case people are calling this downstream (which
27 * is unsupported usage), we'll deprecate it for a few releases before
28 * removing it altogether.
29 *
635f0b86
TO
30 * @return string|''
31 * Class name, or empty.
32 */
33 public static function getProviderClass() {
f26a91e3
FG
34 Civi::log()->warning(
35 'CRM_Utils_Geocode is deprecated and will be removed from core soon, use CRM_Utils_GeocodeProvider::getUsableClassName()',
36 ['civi.tag' => 'deprecated']
37 );
38
0d1823d7 39 return (string) CRM_Utils_GeocodeProvider::getUsableClassName();
635f0b86
TO
40 }
41
42}