Категории Показать все
Illuminate\Database\Eloquent\Collection {#2413
  #items: array:3 [
    0 => App\SubCategory {#2418
      #connection: "mysql"
      #table: "sub_categories"
      #primaryKey: "id"
      #keyType: "int"
      +incrementing: true
      #with: []
      #withCount: []
      #perPage: 15
      +exists: true
      +wasRecentlyCreated: false
      #attributes: array:10 [
        "id" => "39"
        "name" => "Женщинам"
        "banner" => ""
        "category_id" => "30"
        "slug" => "-wehSL"
        "meta_title" => null
        "meta_description" => null
        "meta_tags" => null
        "created_at" => "2020-08-14 15:01:03"
        "updated_at" => "2020-08-14 15:01:03"
      ]
      #original: array:10 [
        "id" => "39"
        "name" => "Женщинам"
        "banner" => ""
        "category_id" => "30"
        "slug" => "-wehSL"
        "meta_title" => null
        "meta_description" => null
        "meta_tags" => null
        "created_at" => "2020-08-14 15:01:03"
        "updated_at" => "2020-08-14 15:01:03"
      ]
      #changes: []
      #casts: []
      #dates: []
      #dateFormat: null
      #appends: []
      #dispatchesEvents: []
      #observables: []
      #relations: []
      #touches: []
      +timestamps: true
      #hidden: []
      #visible: []
      #fillable: []
      #guarded: array:1 [
        0 => "*"
      ]
    }
    1 => App\SubCategory {#2421
      #connection: "mysql"
      #table: "sub_categories"
      #primaryKey: "id"
      #keyType: "int"
      +incrementing: true
      #with: []
      #withCount: []
      #perPage: 15
      +exists: true
      +wasRecentlyCreated: false
      #attributes: array:10 [
        "id" => "40"
        "name" => "Мужчинам"
        "banner" => ""
        "category_id" => "30"
        "slug" => "-sIICN"
        "meta_title" => null
        "meta_description" => null
        "meta_tags" => null
        "created_at" => "2020-08-14 15:01:22"
        "updated_at" => "2020-08-14 15:01:22"
      ]
      #original: array:10 [
        "id" => "40"
        "name" => "Мужчинам"
        "banner" => ""
        "category_id" => "30"
        "slug" => "-sIICN"
        "meta_title" => null
        "meta_description" => null
        "meta_tags" => null
        "created_at" => "2020-08-14 15:01:22"
        "updated_at" => "2020-08-14 15:01:22"
      ]
      #changes: []
      #casts: []
      #dates: []
      #dateFormat: null
      #appends: []
      #dispatchesEvents: []
      #observables: []
      #relations: []
      #touches: []
      +timestamps: true
      #hidden: []
      #visible: []
      #fillable: []
      #guarded: array:1 [
        0 => "*"
      ]
    }
    2 => App\SubCategory {#2411
      #connection: "mysql"
      #table: "sub_categories"
      #primaryKey: "id"
      #keyType: "int"
      +incrementing: true
      #with: []
      #withCount: []
      #perPage: 15
      +exists: true
      +wasRecentlyCreated: false
      #attributes: array:10 [
        "id" => "43"
        "name" => "Спецодежда"
        "banner" => "uploads/categories/banner/VkpZFGMngl1Ye1kyrOizcG3v0WD7DVfisirA39Tq.png"
        "category_id" => "30"
        "slug" => "-pCaMw"
        "meta_title" => null
        "meta_description" => null
        "meta_tags" => null
        "created_at" => "2020-08-14 15:02:17"
        "updated_at" => "2020-09-05 14:04:04"
      ]
      #original: array:10 [
        "id" => "43"
        "name" => "Спецодежда"
        "banner" => "uploads/categories/banner/VkpZFGMngl1Ye1kyrOizcG3v0WD7DVfisirA39Tq.png"
        "category_id" => "30"
        "slug" => "-pCaMw"
        "meta_title" => null
        "meta_description" => null
        "meta_tags" => null
        "created_at" => "2020-08-14 15:02:17"
        "updated_at" => "2020-09-05 14:04:04"
      ]
      #changes: []
      #casts: []
      #dates: []
      #dateFormat: null
      #appends: []
      #dispatchesEvents: []
      #observables: []
      #relations: []
      #touches: []
      +timestamps: true
      #hidden: []
      #visible: []
      #fillable: []
      #guarded: array:1 [
        0 => "*"
      ]
    }
  ]
}
Все товары категории в Для мужчин и женщин