class LabelSource extends Model

The source (database) of a label.

Traits

HasFactory

Properties

bool $timestamps

Don't maintain timestamps for this model.

Methods

getAdapter()

Returns the label source adapter of this label source.

Details

at line 34
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.