Semantic MediaWiki and related extensions
Public Member Functions | List of all members
Maps\MappingServices Class Reference

Public Member Functions

 __construct (array $availableServices, string $defaultService, MappingService ... $services)
 
 nameIsKnown (string $name)
 
 getService (string $name)
 
 getServiceOrDefault (string $name)
 
 getAllNames ()
 
 getDefaultService ()
 

Detailed Description

GNU GPL v2+

Author
Jeroen De Dauw < jeroe.nosp@m.nded.nosp@m.auw@g.nosp@m.mail.nosp@m..com >

Constructor & Destructor Documentation

◆ __construct()

Maps\MappingServices::__construct ( array  $availableServices,
string  $defaultService,
MappingService ...  $services 
)
Parameters
string[]$availableServices
string$defaultService
MappingService...$services
Exceptions

Member Function Documentation

◆ getService()

Maps\MappingServices::getService ( string  $name)
Parameters
string$nameName or alias of a service
Returns
MappingService
Exceptions

◆ getServiceOrDefault()

Maps\MappingServices::getServiceOrDefault ( string  $name)
Parameters
string$nameName or alias of a service
Returns
MappingService

◆ nameIsKnown()

Maps\MappingServices::nameIsKnown ( string  $name)
Parameters
string$nameName or alias of a service
Returns
bool

The documentation for this class was generated from the following file:

About | General disclaimer | Privacy policy