osb/app/Models/ProductTranslate.php

15 lines
245 B
PHP
Raw Permalink Normal View History

2018-05-20 12:53:14 +00:00
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class ProductTranslate extends Model
{
protected $table = 'ab_product_translate';
public function getDescriptionFullAttribute($value)
{
return unserialize($value);
}
2018-05-20 12:53:14 +00:00
}