'array', 'credentials' => 'encrypted:array', ]; } public function service(): BelongsTo { return $this->belongsTo(Service::class); } public function environment(): BelongsTo { return $this->belongsTo(Environment::class); } public function attachments(): HasMany { return $this->hasMany(EnvironmentAttachment::class); } public function operations(): MorphMany { return $this->morphMany(Operation::class, 'target'); } }