belongsTo(AboutMe::class, 'about_me_id'); } protected $casts = [ 'translations' => 'array', ]; public function getTitleAttribute() { return $this->translations['title'] ?? null; } public function getDescriptionAttribute() { return $this->translations['description'] ?? null; } }