$engine->getRouteKey(), 'key' => [ 'public' => $engine->getPublicKey(), 'route' => $engine->getRouteKey(), ], 'asset_id' => $engine->asset_id, 'type' => $engine->type, 'priority' => $engine->priority, 'location' => $engine->location, 'manufacture' => $engine->manufacture, 'make' => $engine->make, 'model' => $engine->model, 'hp' => $engine->hp, 'serial_no' => $engine->serial_no, 'url' => [ 'public' => trans_url('engine/'.$engine->getPublicKey()), 'user' => guard_url('engine/engine/'.$engine->getRouteKey()), ], 'status' => trans('app.'.$engine->status), 'created_at' => format_date($engine->created_at), 'updated_at' => format_date($engine->updated_at), ]; } }