class ImageAnnotationLabel extends AnnotationLabel

Pivot object for the connection between ImageAnnotation and Label.

Traits

HasFactory

Properties

int $id from  AnnotationLabel
int $annotation_id from  AnnotationLabel
int $user_id from  AnnotationLabel
int $label_id from  AnnotationLabel
Carbon $created_at from  AnnotationLabel

Methods

array
casts()

Get the attributes that should be cast.

AnnotationLabel>
annotation()

The annotation, this annotation label belongs to.

AnnotationLabel>
label()

The label, this annotation label belongs to.

AnnotationLabel>
user()

The user who created this annotation label.

Details

at line 18
protected array casts()

Get the attributes that should be cast.

Return Value

array

at line 32
AnnotationLabel> annotation()

The annotation, this annotation label belongs to.

Return Value

AnnotationLabel>

in AnnotationLabel at line 46
AnnotationLabel> label()

The label, this annotation label belongs to.

Return Value

AnnotationLabel>

in AnnotationLabel at line 56
AnnotationLabel> user()

The user who created this annotation label.

Return Value

AnnotationLabel>