BaseSwitchContract
in
Table of Contents
Methods
- registerServices() : Arrayable
- This method must be implemented by the child class to return an array of services.
Methods
registerServices()
This method must be implemented by the child class to return an array of services.
public
registerServices() : Arrayable
The array should be in the format of ['SERVICE_NAME' => SERVICE_NAME::class]
.
The SERVICE_NAME is the name that will be used in the request data to call the service.
The SERVICE_CLASS is the class that will be called when the SERVICE_NAME is called.
The SERVICE_CLASS must extend the BaseRestService class.
Tags
Return values
Arrayable —The array of services