The id should not be provided as a plain string it should be the actuall
class name ot the service API beeing requested. As a convention
this id should be obtain from the NAME contstant of a interface (ex: IThemeService::NAME),
where NAME is defined in the interface as 'const NAME = __CLASS__', if apllicable.
public getService ( string $serviceName ) : mixed | ||
$serviceName | string | The class name of the interface beeing requested, must not be null or empty. |
return | mixed | The resource id obtained for this service request. |