SourceSelector
Table of Contents
Methods
-
__construct()
: mixed
-
setGoogleSource()
: Result
-
setOsmSource()
: Result
-
setSource()
: Result
__construct()
public
__construct([SourceRepository $sourceRepository = null ]) : mixed
Parameters
-
$sourceRepository
: SourceRepository
= null
-
setGoogleSource()
public
static setGoogleSource(string $frontendKey, string $backendKey) : Result
Parameters
-
$frontendKey
: string
-
-
$backendKey
: string
-
setOsmSource()
public
static setOsmSource(string $serviceUrl, string $token) : Result
Parameters
-
$serviceUrl
: string
-
-
$token
: string
-
setSource()
public
setSource(string $sourceCode, IConfigFactory $configFactory) : Result
Parameters
-
$sourceCode
: string
-
-
$configFactory
: IConfigFactory
-