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