Service_Provider

An object that provides services (instances of Barn2\WLT_Lib\Service).

Tags
author

Barn2 Plugins support@barn2.com

license

GPL-3.0

copyright

Barn2 Media Ltd

version
1.1

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.

Search results