芝麻web文件管理V1.00
编辑当前文件:/home/qrafawbu/reginaeigbe.com/folder/admin/tmp/app/Models/Portfolio.php
hasOne(PortfolioCategory::class, 'id', 'category_id'); } /** * Get project info as object */ public function getProjectInfoAttribute($value): mixed { return json_decode($value, true); } /** * Get section as object */ public function getSectionsAttribute($value): mixed { return json_decode($value, true); } public function getIsShowBreadcrumbAttribute($value): bool { return $value == "1"; } /** * Get sections data as object * * @param $value * @return mixed */ public function getSectionsDataAttribute($value): mixed { return json_decode($value, true); } /** * Get meta image url * * @return string */ public function getMetaImageUrlAttribute(): string { return asset($this->meta_image); } }