App\Models\City {#1011 // app/Services/CityTopicService.php:90 #connection: "mysql" #table: "cities" #primaryKey: "id" #keyType: "int" +incrementing: true #with: [] #withCount: [] +preventsLazyLoading: false #perPage: 15 +exists: true +wasRecentlyCreated: false #escapeWhenCastingToString: false #attributes: array:26 [ "id" => 11332 "geonames_id" => "2654730" "name" => "Bridgwater" "ascii_name" => "Bridgwater" "alternate_names" => "["Bridgewater","Bridgwater","Bridzhuoter","Bridzhuotur","Bruga Walteri","UBW","beulijiwoteo","\u0411\u0440\u0438\u0434\u0436\u0443\u043e\u0442\u0435\u0440","\u0411\u0440\u0438\u0434\u0436\u0443\u043e\u0442\u044a\u0440","\u0628\u0631\u062c \u0648\u0627\u0679\u0631\u060c \u0633\u0648\u0645\u0631\u0633\u06cc\u0679","\u0628\u0631\u06cc\u062c\u200c\u0648\u0627\u062a\u0631","\u10d1\u10e0\u10d8\u10ef\u10e3\u10dd\u10e2\u10d4\u10e0\u10d8","\ube0c\ub9ac\uc9c0\uc6cc\ud130"]" "latitude" => "51.1283700" "longitude" => "-3.0035600" "feature_class" => "P" "feature_code" => "PPL" "country_id" => 76 "country_code" => "GB" "admin1_code" => "ENG" "admin2_code" => "M3" "admin3_code" => "40UC" "admin4_code" => "40UC054" "population" => 41276 "elevation" => null "dem" => 15 "timezone_id" => "Europe/London" "modification_date" => "2018-07-03 07:00:00" "slug" => "bridgwater-gb" "ai_seasonal_topics" => null "is_featured" => 0 "is_active" => 1 "created_at" => "2025-08-12 13:31:58" "updated_at" => "2025-08-12 13:31:58" ] #original: array:26 [ "id" => 11332 "geonames_id" => "2654730" "name" => "Bridgwater" "ascii_name" => "Bridgwater" "alternate_names" => "["Bridgewater","Bridgwater","Bridzhuoter","Bridzhuotur","Bruga Walteri","UBW","beulijiwoteo","\u0411\u0440\u0438\u0434\u0436\u0443\u043e\u0442\u0435\u0440","\u0411\u0440\u0438\u0434\u0436\u0443\u043e\u0442\u044a\u0440","\u0628\u0631\u062c \u0648\u0627\u0679\u0631\u060c \u0633\u0648\u0645\u0631\u0633\u06cc\u0679","\u0628\u0631\u06cc\u062c\u200c\u0648\u0627\u062a\u0631","\u10d1\u10e0\u10d8\u10ef\u10e3\u10dd\u10e2\u10d4\u10e0\u10d8","\ube0c\ub9ac\uc9c0\uc6cc\ud130"]" "latitude" => "51.1283700" "longitude" => "-3.0035600" "feature_class" => "P" "feature_code" => "PPL" "country_id" => 76 "country_code" => "GB" "admin1_code" => "ENG" "admin2_code" => "M3" "admin3_code" => "40UC" "admin4_code" => "40UC054" "population" => 41276 "elevation" => null "dem" => 15 "timezone_id" => "Europe/London" "modification_date" => "2018-07-03 07:00:00" "slug" => "bridgwater-gb" "ai_seasonal_topics" => null "is_featured" => 0 "is_active" => 1 "created_at" => "2025-08-12 13:31:58" "updated_at" => "2025-08-12 13:31:58" ] #changes: [] #previous: [] #casts: array:10 [ "alternate_names" => "array" "latitude" => "decimal:7" "longitude" => "decimal:7" "population" => "integer" "elevation" => "integer" "dem" => "integer" "modification_date" => "datetime" "is_featured" => "boolean" "is_active" => "boolean" "ai_seasonal_topics" => "array" ] #classCastCache: [] #attributeCastCache: [] #dateFormat: null #appends: [] #dispatchesEvents: [] #observables: [] #relations: array:2 [ "country" => App\Models\Country {#1431 #connection: "mysql" #table: "countries" #primaryKey: "id" #keyType: "int" +incrementing: true #with: [] #withCount: [] +preventsLazyLoading: false #perPage: 15 +exists: true +wasRecentlyCreated: false #escapeWhenCastingToString: false #attributes: array:20 [ "id" => 76 "name" => "United Kingdom" "iso_code" => "GB" "iso3_code" => "GBR" "numeric_code" => "826" "fips_code" => "UK" "capital" => "London" "area_km2" => "244820.00" "population" => 66488991 "continent" => "EU" "currency_code" => "GBP" "languages" => "en-GB,cy-GB,gd" "phone_prefix" => "44" "postal_code_format" => "Pound" "postal_code_regex" => "2635167" "neighbors" => "["IE"]" "flag_emoji" => "🇬🇧" "is_active" => 1 "created_at" => "2025-08-12 13:31:39" "updated_at" => "2025-08-12 13:31:39" ] #original: array:20 [ "id" => 76 "name" => "United Kingdom" "iso_code" => "GB" "iso3_code" => "GBR" "numeric_code" => "826" "fips_code" => "UK" "capital" => "London" "area_km2" => "244820.00" "population" => 66488991 "continent" => "EU" "currency_code" => "GBP" "languages" => "en-GB,cy-GB,gd" "phone_prefix" => "44" "postal_code_format" => "Pound" "postal_code_regex" => "2635167" "neighbors" => "["IE"]" "flag_emoji" => "🇬🇧" "is_active" => 1 "created_at" => "2025-08-12 13:31:39" "updated_at" => "2025-08-12 13:31:39" ] #changes: [] #previous: [] #casts: array:4 [ "neighbors" => "array" "area_km2" => "decimal:2" "population" => "integer" "is_active" => "boolean" ] #classCastCache: [] #attributeCastCache: [] #dateFormat: null #appends: [] #dispatchesEvents: [] #observables: [] #relations: [] #touches: [] #relationAutoloadCallback: null #relationAutoloadContext: null +timestamps: true +usesUniqueIds: false #hidden: [] #visible: [] #fillable: array:17 [ 0 => "name" 1 => "iso_code" 2 => "iso3_code" 3 => "numeric_code" 4 => "fips_code" 5 => "capital" 6 => "area_km2" 7 => "population" 8 => "continent" 9 => "currency_code" 10 => "languages" 11 => "phone_prefix" 12 => "postal_code_format" 13 => "postal_code_regex" 14 => "neighbors" 15 => "flag_emoji" 16 => "is_active" ] #guarded: array:1 [ 0 => "*" ] } "timezone" => App\Models\TimeZone {#1022 #connection: "mysql" #table: "timezones" #primaryKey: "id" #keyType: "int" +incrementing: true #with: [] #withCount: [] +preventsLazyLoading: false #perPage: 15 +exists: true +wasRecentlyCreated: false #escapeWhenCastingToString: false #attributes: array:11 [ "id" => 337 "timezone_id" => "Europe/London" "country_code" => "GB" "gmt_offset" => "0.00" "dst_offset" => "1.00" "raw_offset" => "0.00" "timezone_name" => "London Time" "has_dst" => 1 "created_at" => "2025-08-12 13:31:39" "updated_at" => "2025-08-12 13:31:39" "slug" => "europelondon" ] #original: array:11 [ "id" => 337 "timezone_id" => "Europe/London" "country_code" => "GB" "gmt_offset" => "0.00" "dst_offset" => "1.00" "raw_offset" => "0.00" "timezone_name" => "London Time" "has_dst" => 1 "created_at" => "2025-08-12 13:31:39" "updated_at" => "2025-08-12 13:31:39" "slug" => "europelondon" ] #changes: [] #previous: [] #casts: array:4 [ "gmt_offset" => "decimal:2" "dst_offset" => "decimal:2" "raw_offset" => "decimal:2" "has_dst" => "boolean" ] #classCastCache: [] #attributeCastCache: [] #dateFormat: null #appends: [] #dispatchesEvents: [] #observables: [] #relations: [] #touches: [] #relationAutoloadCallback: null #relationAutoloadContext: null +timestamps: true +usesUniqueIds: false #hidden: [] #visible: [] #fillable: array:8 [ 0 => "timezone_id" 1 => "country_code" 2 => "gmt_offset" 3 => "dst_offset" 4 => "raw_offset" 5 => "timezone_name" 6 => "has_dst" 7 => "slug" ] #guarded: array:1 [ 0 => "*" ] } ] #touches: [] #relationAutoloadCallback: null #relationAutoloadContext: null +timestamps: true +usesUniqueIds: false #hidden: [] #visible: [] #fillable: array:22 [ 0 => "geonames_id" 1 => "name" 2 => "ascii_name" 3 => "alternate_names" 4 => "latitude" 5 => "longitude" 6 => "feature_class" 7 => "feature_code" 8 => "country_id" 9 => "country_code" 10 => "admin1_code" 11 => "admin2_code" 12 => "admin3_code" 13 => "admin4_code" 14 => "population" 15 => "elevation" 16 => "dem" 17 => "timezone_id" 18 => "modification_date" 19 => "slug" 20 => "is_featured" 21 => "is_active" ] #guarded: array:1 [ 0 => "*" ] }
array:2 [ // app/Services/CityTopicService.php:127 "topic" => "Summer clothing essentials for Bridgwater" "products" => array:2 [ "men" => array:3 [ 0 => "linen short sleeve shirt" 1 => "lightweight cargo shorts" 2 => "breathable sandals" ] "women" => array:3 [ 0 => "cotton sundress" 1 => "wide-brimmed sun hat" 2 => "flip flops" ] ] ]