LabelSourceAdapterContract
interface LabelSourceAdapterContract
A label source adapter.
Methods
array
find(Request$request)
Find a label in the label source.
array
create(int$id,Request$request)
Create the label (or labels) from the label source based on an API request.
Details
at line19
array
find(Request$request)
Find a label in the label source.
at line40
array
create(int$id,Request$request)
Create the label (or labels) from the label source based on an API request.
The request may contain arbitrary input data. This function may create multiple labels (e.g. all parent labels of the label to create) as well.