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