App\Models\Driver {#578 // app/Http/Controllers/DriverController.php:651 #connection: "mysql" #table: "drivers" #primaryKey: "id" #keyType: "int" +incrementing: true #with: [] #withCount: [] +preventsLazyLoading: false #perPage: 15 +exists: true +wasRecentlyCreated: false #escapeWhenCastingToString: false #attributes: array:23 [ "id" => 581 "number" => null "code" => null "firstname" => "Peter" "lastname" => "Collins" "slug" => "peter-collins" "dob" => "1931-11-06" "dod" => "1958-08-03" "nationality_id" => 826 "wiki_url" => "http://en.wikipedia.org/wiki/Peter_Collins_(racing_driver)" "descr_en" => "Peter John Collins (6 November 1931 – 3 August 1958) was a British racing driver. He was killed in the 1958 German Grand Prix, just weeks after winning the RAC British Grand Prix. He started his career as a 17-year-old in 1949, impressing in Formula 3 races, finishing third in the 1951 Autosport National Formula 3 Championship." "created_at" => "2017-11-07 20:32:13" "updated_at" => "2017-11-07 19:32:13" "laps_count" => 0 "laps_led_count" => 0 "laps_raced_count" => 0 "seasons_count" => 7 "events_count" => 34 "starts_count" => 32 "wins_count" => 0 "poles_count" => 0 "podiums_count" => 0 "fastest_laps_count" => 0 ] #original: array:23 [ "id" => 581 "number" => null "code" => null "firstname" => "Peter" "lastname" => "Collins" "slug" => "peter-collins" "dob" => "1931-11-06" "dod" => "1958-08-03" "nationality_id" => 826 "wiki_url" => "http://en.wikipedia.org/wiki/Peter_Collins_(racing_driver)" "descr_en" => "Peter John Collins (6 November 1931 – 3 August 1958) was a British racing driver. He was killed in the 1958 German Grand Prix, just weeks after winning the RAC British Grand Prix. He started his career as a 17-year-old in 1949, impressing in Formula 3 races, finishing third in the 1951 Autosport National Formula 3 Championship." "created_at" => "2017-11-07 20:32:13" "updated_at" => "2017-11-07 19:32:13" "laps_count" => 0 "laps_led_count" => 0 "laps_raced_count" => 0 "seasons_count" => 7 "events_count" => 34 "starts_count" => 32 "wins_count" => 0 "poles_count" => 0 "podiums_count" => 0 "fastest_laps_count" => 0 ] #changes: [] #casts: [] #classCastCache: [] #attributeCastCache: [] #dateFormat: null #appends: [] #dispatchesEvents: [] #observables: [] #relations: array:3 [ "nationality" => App\Models\Nationality {#568 #connection: "mysql" #table: "nationalities" #primaryKey: "id" #keyType: "int" +incrementing: true #with: [] #withCount: [] +preventsLazyLoading: false #perPage: 15 +exists: true +wasRecentlyCreated: false #escapeWhenCastingToString: false #attributes: array:8 [ "id" => 826 "nationality" => "British" "country" => "United Kingdom of Great Britain and Northern Ireland" "language" => "British, UK" "slug" => "" "langcode1" => "GB" "langcode2" => "GBR" "wiki_url" => "" ] #original: array:8 [ "id" => 826 "nationality" => "British" "country" => "United Kingdom of Great Britain and Northern Ireland" "language" => "British, UK" "slug" => "" "langcode1" => "GB" "langcode2" => "GBR" "wiki_url" => "" ] #changes: [] #casts: [] #classCastCache: [] #attributeCastCache: [] #dateFormat: null #appends: [] #dispatchesEvents: [] #observables: [] #relations: [] #touches: [] +timestamps: false +usesUniqueIds: false #hidden: [] #visible: [] #fillable: array:6 [ 0 => "nationality" 1 => "country" 2 => "language" 3 => "langcode1" 4 => "langcode2" 5 => "wiki_url" ] #guarded: array:1 [ 0 => "*" ] } "firstEvent" => Illuminate\Database\Eloquent\Collection {#662 #items: [] #escapeWhenCastingToString: false } "lastEvent" => Illuminate\Database\Eloquent\Collection {#574 #items: [] #escapeWhenCastingToString: false } ] #touches: [] +timestamps: true +usesUniqueIds: false #hidden: [] #visible: [] #fillable: array:8 [ 0 => "firstname" 1 => "lastname" 2 => "slug" 3 => "number" 4 => "code" 5 => "dob" 6 => "nationality_id" 7 => "wiki_url" ] #guarded: array:1 [ 0 => "*" ] }