belongsTo(Account::class); } /** * Get the user associated with the audit log. * * @return BelongsTo */ public function author() { return $this->BelongsTo(User::class); } /** * Get the JSON object. * * @param mixed $value * @return mixed */ public function getObjectAttribute($value) { return json_decode($this->objects); } }