Категории Показать все
Illuminate\Database\Eloquent\Collection {#2414
  #items: array:6 [
    0 => App\SubCategory {#2379
      #connection: "mysql"
      #table: "sub_categories"
      #primaryKey: "id"
      #keyType: "int"
      +incrementing: true
      #with: []
      #withCount: []
      #perPage: 15
      +exists: true
      +wasRecentlyCreated: false
      #attributes: array:10 [
        "id" => "41"
        "name" => "Спорт"
        "banner" => "uploads/categories/banner/XxVq331ob7bE87Sto79y9FIZhYZkIjHNkiV5BMtL.png"
        "category_id" => "40"
        "slug" => "-dIhqb"
        "meta_title" => "Спорт"
        "meta_description" => null
        "meta_tags" => null
        "created_at" => "2020-08-14 15:01:37"
        "updated_at" => "2020-09-05 14:08:03"
      ]
      #original: array:10 [
        "id" => "41"
        "name" => "Спорт"
        "banner" => "uploads/categories/banner/XxVq331ob7bE87Sto79y9FIZhYZkIjHNkiV5BMtL.png"
        "category_id" => "40"
        "slug" => "-dIhqb"
        "meta_title" => "Спорт"
        "meta_description" => null
        "meta_tags" => null
        "created_at" => "2020-08-14 15:01:37"
        "updated_at" => "2020-09-05 14:08:03"
      ]
      #changes: []
      #casts: []
      #dates: []
      #dateFormat: null
      #appends: []
      #dispatchesEvents: []
      #observables: []
      #relations: []
      #touches: []
      +timestamps: true
      #hidden: []
      #visible: []
      #fillable: []
      #guarded: array:1 [
        0 => "*"
      ]
    }
    1 => App\SubCategory {#2426
      #connection: "mysql"
      #table: "sub_categories"
      #primaryKey: "id"
      #keyType: "int"
      +incrementing: true
      #with: []
      #withCount: []
      #perPage: 15
      +exists: true
      +wasRecentlyCreated: false
      #attributes: array:10 [
        "id" => "64"
        "name" => "Фитнес и тренажеры"
        "banner" => "uploads/categories/banner/WaZehP9YCdIXKBlHnaEZsL6JpayCn5N65oeBi8Sd.png"
        "category_id" => "40"
        "slug" => "---C1vYW"
        "meta_title" => "Фитнес и тренажеры"
        "meta_description" => null
        "meta_tags" => null
        "created_at" => "2020-08-24 16:27:37"
        "updated_at" => "2020-09-05 14:43:50"
      ]
      #original: array:10 [
        "id" => "64"
        "name" => "Фитнес и тренажеры"
        "banner" => "uploads/categories/banner/WaZehP9YCdIXKBlHnaEZsL6JpayCn5N65oeBi8Sd.png"
        "category_id" => "40"
        "slug" => "---C1vYW"
        "meta_title" => "Фитнес и тренажеры"
        "meta_description" => null
        "meta_tags" => null
        "created_at" => "2020-08-24 16:27:37"
        "updated_at" => "2020-09-05 14:43:50"
      ]
      #changes: []
      #casts: []
      #dates: []
      #dateFormat: null
      #appends: []
      #dispatchesEvents: []
      #observables: []
      #relations: []
      #touches: []
      +timestamps: true
      #hidden: []
      #visible: []
      #fillable: []
      #guarded: array:1 [
        0 => "*"
      ]
    }
    2 => App\SubCategory {#2427
      #connection: "mysql"
      #table: "sub_categories"
      #primaryKey: "id"
      #keyType: "int"
      +incrementing: true
      #with: []
      #withCount: []
      #perPage: 15
      +exists: true
      +wasRecentlyCreated: false
      #attributes: array:10 [
        "id" => "74"
        "name" => "Велоспорт"
        "banner" => "uploads/categories/banner/hRrwbIDjQQHqLctxaFSG8BKmQU8mky3YlCH26NMK.png"
        "category_id" => "40"
        "slug" => "-5lBQ7"
        "meta_title" => "Велоспорт"
        "meta_description" => null
        "meta_tags" => null
        "created_at" => "2020-08-25 17:33:46"
        "updated_at" => "2020-09-05 15:43:40"
      ]
      #original: array:10 [
        "id" => "74"
        "name" => "Велоспорт"
        "banner" => "uploads/categories/banner/hRrwbIDjQQHqLctxaFSG8BKmQU8mky3YlCH26NMK.png"
        "category_id" => "40"
        "slug" => "-5lBQ7"
        "meta_title" => "Велоспорт"
        "meta_description" => null
        "meta_tags" => null
        "created_at" => "2020-08-25 17:33:46"
        "updated_at" => "2020-09-05 15:43:40"
      ]
      #changes: []
      #casts: []
      #dates: []
      #dateFormat: null
      #appends: []
      #dispatchesEvents: []
      #observables: []
      #relations: []
      #touches: []
      +timestamps: true
      #hidden: []
      #visible: []
      #fillable: []
      #guarded: array:1 [
        0 => "*"
      ]
    }
    3 => App\SubCategory {#2428
      #connection: "mysql"
      #table: "sub_categories"
      #primaryKey: "id"
      #keyType: "int"
      +incrementing: true
      #with: []
      #withCount: []
      #perPage: 15
      +exists: true
      +wasRecentlyCreated: false
      #attributes: array:10 [
        "id" => "75"
        "name" => "Охота и рыбалка"
        "banner" => "uploads/categories/banner/pRgA4iOFUqoyU0GWaUxQ7EhplKmjFdvLZsEnIc9j.png"
        "category_id" => "40"
        "slug" => "---yTeh5"
        "meta_title" => "Охота и рыбалка"
        "meta_description" => null
        "meta_tags" => null
        "created_at" => "2020-08-25 17:50:32"
        "updated_at" => "2020-09-05 15:46:44"
      ]
      #original: array:10 [
        "id" => "75"
        "name" => "Охота и рыбалка"
        "banner" => "uploads/categories/banner/pRgA4iOFUqoyU0GWaUxQ7EhplKmjFdvLZsEnIc9j.png"
        "category_id" => "40"
        "slug" => "---yTeh5"
        "meta_title" => "Охота и рыбалка"
        "meta_description" => null
        "meta_tags" => null
        "created_at" => "2020-08-25 17:50:32"
        "updated_at" => "2020-09-05 15:46:44"
      ]
      #changes: []
      #casts: []
      #dates: []
      #dateFormat: null
      #appends: []
      #dispatchesEvents: []
      #observables: []
      #relations: []
      #touches: []
      +timestamps: true
      #hidden: []
      #visible: []
      #fillable: []
      #guarded: array:1 [
        0 => "*"
      ]
    }
    4 => App\SubCategory {#2429
      #connection: "mysql"
      #table: "sub_categories"
      #primaryKey: "id"
      #keyType: "int"
      +incrementing: true
      #with: []
      #withCount: []
      #perPage: 15
      +exists: true
      +wasRecentlyCreated: false
      #attributes: array:10 [
        "id" => "76"
        "name" => "Туризм/Походы"
        "banner" => "uploads/categories/banner/krZ9sdfOqZKk0OZHhzSUvVYyY6GhxQOeXL7JMSV2.png"
        "category_id" => "40"
        "slug" => "-aroge"
        "meta_title" => "Туризм/Походы"
        "meta_description" => null
        "meta_tags" => null
        "created_at" => "2020-08-25 17:54:59"
        "updated_at" => "2020-09-05 15:50:21"
      ]
      #original: array:10 [
        "id" => "76"
        "name" => "Туризм/Походы"
        "banner" => "uploads/categories/banner/krZ9sdfOqZKk0OZHhzSUvVYyY6GhxQOeXL7JMSV2.png"
        "category_id" => "40"
        "slug" => "-aroge"
        "meta_title" => "Туризм/Походы"
        "meta_description" => null
        "meta_tags" => null
        "created_at" => "2020-08-25 17:54:59"
        "updated_at" => "2020-09-05 15:50:21"
      ]
      #changes: []
      #casts: []
      #dates: []
      #dateFormat: null
      #appends: []
      #dispatchesEvents: []
      #observables: []
      #relations: []
      #touches: []
      +timestamps: true
      #hidden: []
      #visible: []
      #fillable: []
      #guarded: array:1 [
        0 => "*"
      ]
    }
    5 => App\SubCategory {#2430
      #connection: "mysql"
      #table: "sub_categories"
      #primaryKey: "id"
      #keyType: "int"
      +incrementing: true
      #with: []
      #withCount: []
      #perPage: 15
      +exists: true
      +wasRecentlyCreated: false
      #attributes: array:10 [
        "id" => "106"
        "name" => "Спортивное питание"
        "banner" => ""
        "category_id" => "40"
        "slug" => "--npJUs"
        "meta_title" => "Спортивное питание"
        "meta_description" => null
        "meta_tags" => null
        "created_at" => "2020-09-07 18:18:58"
        "updated_at" => "2020-09-08 20:17:07"
      ]
      #original: array:10 [
        "id" => "106"
        "name" => "Спортивное питание"
        "banner" => ""
        "category_id" => "40"
        "slug" => "--npJUs"
        "meta_title" => "Спортивное питание"
        "meta_description" => null
        "meta_tags" => null
        "created_at" => "2020-09-07 18:18:58"
        "updated_at" => "2020-09-08 20:17:07"
      ]
      #changes: []
      #casts: []
      #dates: []
      #dateFormat: null
      #appends: []
      #dispatchesEvents: []
      #observables: []
      #relations: []
      #touches: []
      +timestamps: true
      #hidden: []
      #visible: []
      #fillable: []
      #guarded: array:1 [
        0 => "*"
      ]
    }
  ]
}
Все товары категории в Спорт товары