uawdijnntqw1x1x1
IP : 216.73.217.77
Hostname : panel.codeskitter.com
Kernel : Linux panel.codeskitter.com 6.8.0-100-generic #100-Ubuntu SMP PREEMPT_DYNAMIC Tue Jan 13 16:40:06 UTC 2026 x86_64
Disable Function : apache_child_terminate, apache_note, apache_setenv, define_syslog_variables, dl, link, opcache_get_status, openlog, pcntl_exec, pcntl_fork, pcntl_setpriority, popen, posix_getpwuid, posix_kill, posix_mkfifo, posix_setpgid, posix_setsid, posix_setuid
OS : Linux
PATH:
/
home
/
users
/
unlimited
/
www
/
egrocer.codeskitter.site
/
tests
/
Unit
/
..
/
..
/
tests
/
..
/
app
/
Models
/
Cart.php
/
/
<?php namespace App\Models; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; class Cart extends Model { use HasFactory; protected $hidden = []; protected $appends = ['image_url']; public function images(){ return $this->hasMany(ProductImages::class,'product_id','product_id') ->where('product_variant_id',0); //$res = $res->makeHidden(['image']); } public function products() { return $this->belongsTo(Product::class, 'product_id'); } // Relation to ProductVariant public function variants() { return $this->belongsTo(ProductVariant::class, 'product_variant_id'); } public function getImageUrlAttribute(){ if($this->image){ $image_url = asset('storage/'.$this->image); return $image_url; } return $this->image; } }
/home/users/unlimited/www/egrocer.codeskitter.site/tests/Unit/../../tests/../app/Models/Cart.php