Категории Показать все
Illuminate\Database\Eloquent\Collection {#2431
  #items: array:4 [
    0 => App\SubCategory {#2434
      #connection: "mysql"
      #table: "sub_categories"
      #primaryKey: "id"
      #keyType: "int"
      +incrementing: true
      #with: []
      #withCount: []
      #perPage: 15
      +exists: true
      +wasRecentlyCreated: false
      #attributes: array:10 [
        "id" => "21"
        "name" => "Садовая техника"
        "banner" => "uploads/categories/banner/DfsKMGGnFf5gW3WocvNFzXrLbfN8jGejkrtCgaFf.png"
        "category_id" => "12"
        "slug" => "--P1wkQ"
        "meta_title" => null
        "meta_description" => null
        "meta_tags" => null
        "created_at" => "2020-01-16 01:50:51"
        "updated_at" => "2020-09-05 12:12:25"
      ]
      #original: array:10 [
        "id" => "21"
        "name" => "Садовая техника"
        "banner" => "uploads/categories/banner/DfsKMGGnFf5gW3WocvNFzXrLbfN8jGejkrtCgaFf.png"
        "category_id" => "12"
        "slug" => "--P1wkQ"
        "meta_title" => null
        "meta_description" => null
        "meta_tags" => null
        "created_at" => "2020-01-16 01:50:51"
        "updated_at" => "2020-09-05 12:12:25"
      ]
      #changes: []
      #casts: []
      #dates: []
      #dateFormat: null
      #appends: []
      #dispatchesEvents: []
      #observables: []
      #relations: []
      #touches: []
      +timestamps: true
      #hidden: []
      #visible: []
      #fillable: []
      #guarded: array:1 [
        0 => "*"
      ]
    }
    1 => App\SubCategory {#2424
      #connection: "mysql"
      #table: "sub_categories"
      #primaryKey: "id"
      #keyType: "int"
      +incrementing: true
      #with: []
      #withCount: []
      #perPage: 15
      +exists: true
      +wasRecentlyCreated: false
      #attributes: array:10 [
        "id" => "22"
        "name" => "Строительное оборудование"
        "banner" => "uploads/categories/banner/wY3hTCYa2djoViqqwIIJQV7lCiw4b1O2MmPWaSDM.png"
        "category_id" => "12"
        "slug" => "---kmMs7"
        "meta_title" => "Строительное оборудование"
        "meta_description" => null
        "meta_tags" => null
        "created_at" => "2020-01-16 01:51:22"
        "updated_at" => "2020-09-07 16:24:50"
      ]
      #original: array:10 [
        "id" => "22"
        "name" => "Строительное оборудование"
        "banner" => "uploads/categories/banner/wY3hTCYa2djoViqqwIIJQV7lCiw4b1O2MmPWaSDM.png"
        "category_id" => "12"
        "slug" => "---kmMs7"
        "meta_title" => "Строительное оборудование"
        "meta_description" => null
        "meta_tags" => null
        "created_at" => "2020-01-16 01:51:22"
        "updated_at" => "2020-09-07 16:24:50"
      ]
      #changes: []
      #casts: []
      #dates: []
      #dateFormat: null
      #appends: []
      #dispatchesEvents: []
      #observables: []
      #relations: []
      #touches: []
      +timestamps: true
      #hidden: []
      #visible: []
      #fillable: []
      #guarded: array:1 [
        0 => "*"
      ]
    }
    2 => App\SubCategory {#2389
      #connection: "mysql"
      #table: "sub_categories"
      #primaryKey: "id"
      #keyType: "int"
      +incrementing: true
      #with: []
      #withCount: []
      #perPage: 15
      +exists: true
      +wasRecentlyCreated: false
      #attributes: array:10 [
        "id" => "68"
        "name" => "Электроинструменты"
        "banner" => "uploads/categories/banner/KZijZeE7twpEVEGk1Yo9RVB7V9U4Fak4mfRNnT1D.png"
        "category_id" => "12"
        "slug" => "-OsOUm"
        "meta_title" => "Электроинструменты"
        "meta_description" => null
        "meta_tags" => null
        "created_at" => "2020-08-24 17:20:58"
        "updated_at" => "2020-09-07 11:47:06"
      ]
      #original: array:10 [
        "id" => "68"
        "name" => "Электроинструменты"
        "banner" => "uploads/categories/banner/KZijZeE7twpEVEGk1Yo9RVB7V9U4Fak4mfRNnT1D.png"
        "category_id" => "12"
        "slug" => "-OsOUm"
        "meta_title" => "Электроинструменты"
        "meta_description" => null
        "meta_tags" => null
        "created_at" => "2020-08-24 17:20:58"
        "updated_at" => "2020-09-07 11:47:06"
      ]
      #changes: []
      #casts: []
      #dates: []
      #dateFormat: null
      #appends: []
      #dispatchesEvents: []
      #observables: []
      #relations: []
      #touches: []
      +timestamps: true
      #hidden: []
      #visible: []
      #fillable: []
      #guarded: array:1 [
        0 => "*"
      ]
    }
    3 => App\SubCategory {#2436
      #connection: "mysql"
      #table: "sub_categories"
      #primaryKey: "id"
      #keyType: "int"
      +incrementing: true
      #with: []
      #withCount: []
      #perPage: 15
      +exists: true
      +wasRecentlyCreated: false
      #attributes: array:10 [
        "id" => "69"
        "name" => "Инструменты и оснастка"
        "banner" => "uploads/categories/banner/SA1XFqa88aXwxsuKrjUb8IKKH7t0ugFgrDuM2zlL.png"
        "category_id" => "12"
        "slug" => "---Ej34j"
        "meta_title" => "Инструменты и оснастка"
        "meta_description" => null
        "meta_tags" => null
        "created_at" => "2020-08-25 15:29:39"
        "updated_at" => "2020-09-07 11:46:31"
      ]
      #original: array:10 [
        "id" => "69"
        "name" => "Инструменты и оснастка"
        "banner" => "uploads/categories/banner/SA1XFqa88aXwxsuKrjUb8IKKH7t0ugFgrDuM2zlL.png"
        "category_id" => "12"
        "slug" => "---Ej34j"
        "meta_title" => "Инструменты и оснастка"
        "meta_description" => null
        "meta_tags" => null
        "created_at" => "2020-08-25 15:29:39"
        "updated_at" => "2020-09-07 11:46:31"
      ]
      #changes: []
      #casts: []
      #dates: []
      #dateFormat: null
      #appends: []
      #dispatchesEvents: []
      #observables: []
      #relations: []
      #touches: []
      +timestamps: true
      #hidden: []
      #visible: []
      #fillable: []
      #guarded: array:1 [
        0 => "*"
      ]
    }
  ]
}
Все товары категории в Строительство и ремонт