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