Категории Показать все
Illuminate\Database\Eloquent\Collection {#2421
  #items: array:2 [
    0 => App\SubCategory {#2412
      #connection: "mysql"
      #table: "sub_categories"
      #primaryKey: "id"
      #keyType: "int"
      +incrementing: true
      #with: []
      #withCount: []
      #perPage: 15
      +exists: true
      +wasRecentlyCreated: false
      #attributes: array:10 [
        "id" => "58"
        "name" => "Дача и сад"
        "banner" => "uploads/categories/banner/76wILqE9QIbbPC5gyRynC2Bghif0iobVe6nntHIx.png"
        "category_id" => "35"
        "slug" => "---mrSMD"
        "meta_title" => null
        "meta_description" => null
        "meta_tags" => null
        "created_at" => "2020-08-17 20:12:12"
        "updated_at" => "2020-09-05 14:26:41"
      ]
      #original: array:10 [
        "id" => "58"
        "name" => "Дача и сад"
        "banner" => "uploads/categories/banner/76wILqE9QIbbPC5gyRynC2Bghif0iobVe6nntHIx.png"
        "category_id" => "35"
        "slug" => "---mrSMD"
        "meta_title" => null
        "meta_description" => null
        "meta_tags" => null
        "created_at" => "2020-08-17 20:12:12"
        "updated_at" => "2020-09-05 14:26:41"
      ]
      #changes: []
      #casts: []
      #dates: []
      #dateFormat: null
      #appends: []
      #dispatchesEvents: []
      #observables: []
      #relations: []
      #touches: []
      +timestamps: true
      #hidden: []
      #visible: []
      #fillable: []
      #guarded: array:1 [
        0 => "*"
      ]
    }
    1 => App\SubCategory {#2417
      #connection: "mysql"
      #table: "sub_categories"
      #primaryKey: "id"
      #keyType: "int"
      +incrementing: true
      #with: []
      #withCount: []
      #perPage: 15
      +exists: true
      +wasRecentlyCreated: false
      #attributes: array:10 [
        "id" => "59"
        "name" => "Цветы и растения"
        "banner" => "uploads/categories/banner/C0KOF9qPPRhUYjfccezMFK64Z4SvHSExdRMUiJmj.png"
        "category_id" => "35"
        "slug" => "---zyYqC"
        "meta_title" => null
        "meta_description" => null
        "meta_tags" => null
        "created_at" => "2020-08-17 20:12:24"
        "updated_at" => "2020-09-05 14:29:13"
      ]
      #original: array:10 [
        "id" => "59"
        "name" => "Цветы и растения"
        "banner" => "uploads/categories/banner/C0KOF9qPPRhUYjfccezMFK64Z4SvHSExdRMUiJmj.png"
        "category_id" => "35"
        "slug" => "---zyYqC"
        "meta_title" => null
        "meta_description" => null
        "meta_tags" => null
        "created_at" => "2020-08-17 20:12:24"
        "updated_at" => "2020-09-05 14:29:13"
      ]
      #changes: []
      #casts: []
      #dates: []
      #dateFormat: null
      #appends: []
      #dispatchesEvents: []
      #observables: []
      #relations: []
      #touches: []
      +timestamps: true
      #hidden: []
      #visible: []
      #fillable: []
      #guarded: array:1 [
        0 => "*"
      ]
    }
  ]
}
Все товары категории в Дом и сад