JFIFxxC      C  " }!1AQa"q2#BR$3br %&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz w!1AQaq"2B #3Rbr{ gilour

File "BiolinkAppearance.php"

Full Path: /home/markqprx/iniasli.pro/app-20260222054640/Models/BiolinkAppearance.php
File size: 488 bytes
MIME-type: text/x-php
Charset: utf-8

<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;

class BiolinkAppearance extends Model
{
    use HasFactory;

    protected $guarded = ['id'];

    public function getConfigAttribute($value)
    {
        return json_decode($value, true) ?: [];
    }

    public function setConfigAttribute($value)
    {
        if (is_string($value)) return;
        $this->attributes['config'] = json_encode($value);
    }
}