$products_purpose->getRouteKey(), 'key' => [ 'public' => $products_purpose->getPublicKey(), 'route' => $products_purpose->getRouteKey(), ], 'id' => $products_purpose->id, 'purpose_id' => $products_purpose->purpose_id, 'product_id' => $products_purpose->product_id, 'meta_keywords_purpose' => $products_purpose->meta_keywords_purpose, 'url' => [ 'public' => trans_url('purpose/'.$products_purpose->getPublicKey()), 'user' => guard_url('purpose/products_purpose/'.$products_purpose->getRouteKey()), ], 'status' => trans('app.'.$products_purpose->status), 'created_at' => format_date($products_purpose->created_at), 'updated_at' => format_date($products_purpose->updated_at), ]; } }