Service_Provider
An object that provides services (instances of Barn2\WLT_Lib\Service).
Tags
Table of Contents
- get_service() : Service
- Get the service for the specified ID.
- get_services() : array<string|int, mixed>
- Get the list of services provided.
Methods
get_service()
Get the service for the specified ID.
public
get_service(string $id) : Service
Parameters
- $id : string
-
The service ID
Return values
Service —The service object
get_services()
Get the list of services provided.
public
get_services() : array<string|int, mixed>
Return values
array<string|int, mixed> —The list of service objects.