$b_category->getRouteKey(), 'key' => [ 'public' => $b_category->getPublicKey(), 'route' => $b_category->getRouteKey(), ], 'name' => $b_category->name, 'status' => $b_category->status, 'url' => [ 'public' => trans_url('b_category/'.$b_category->getPublicKey()), 'user' => guard_url('b_category/b_category/'.$b_category->getRouteKey()), ], 'status' => trans('app.'.$b_category->status), 'created_at' => format_date($b_category->created_at), 'updated_at' => format_date($b_category->updated_at), ]; } }