class LabelSource extends Model

The source (database) of a label.

Traits

HasFactory

Methods

getAdapter()

Returns the label source adapter of this label source.

Details

at line 29
LabelSourceAdapterContract getAdapter()

Returns the label source adapter of this label source.

If the name is worms, the adapter will be Biigle\Services\LabelSourceAdapters\WormsAdapter. If the name is ab_cd, the adapter will be Biigle\Services\LabelSourceAdapters\AbCdAdapter.