'array', ]; /** * Get the original media of this variation. * * @return BelongsTo */ public function parent(): BelongsTo { return $this->belongsTo(Media::class, 'parent_id'); } /** * Get the variations for the media. * * @return HasMany */ public function variations(): HasMany { return $this->hasMany(Media::class, 'parent_id'); } }