ServiceStatus::class, 'category' => ServiceCategory::class, 'type' => ServiceType::class, ]; } public function server(): BelongsTo { return $this->belongsTo(Server::class); } public function slices(): HasMany { return $this->hasMany(Slice::class); } public function deployments(): MorphMany { return $this->morphMany(Deployment::class, 'deployable'); } public function driver()//: Driver { // @todo. This is the class that controls the service } }