| Total Complexity | 7 | 
| Total Lines | 32 | 
| Duplicated Lines | 0 % | 
| Changes | 4 | ||
| Bugs | 0 | Features | 0 | 
| 1 | <?php | ||
| 13 | class Product extends Model | ||
| 14 | { | ||
| 15 | use HasFactory; | ||
| 16 | |||
| 17 | protected $dates = ["created_at","updated_at"]; | ||
| 18 | |||
| 19 |     public function items(){ | ||
| 21 | } | ||
| 22 | |||
| 23 |     public function category(){ | ||
| 25 | } | ||
| 26 | |||
| 27 |     public function details(){ | ||
| 29 | } | ||
| 30 | |||
| 31 |     public static function getPrice($product_item_id){ | ||
| 33 | } | ||
| 34 | |||
| 35 |     public static function getImage($product_item_id){ | ||
| 37 | } | ||
| 38 | |||
| 39 |     public static function getDescription($product_item_id){ | ||
| 40 | return ProductItem::find($product_item_id)->description; | ||
| 41 | } | ||
| 42 | |||
| 43 |     public static function getName($product_item_id){ | ||
| 45 | } | ||
| 46 | |||
| 50 |