Категории Показать все
Illuminate\Database\Eloquent\Collection {#2446
  #items: array:11 [
    0 => App\SubCategory {#2447
      #connection: "mysql"
      #table: "sub_categories"
      #primaryKey: "id"
      #keyType: "int"
      +incrementing: true
      #with: []
      #withCount: []
      #perPage: 15
      +exists: true
      +wasRecentlyCreated: false
      #attributes: array:10 [
        "id" => "20"
        "name" => "Для дома"
        "banner" => ""
        "category_id" => "5"
        "slug" => "--Tfviy"
        "meta_title" => null
        "meta_description" => null
        "meta_tags" => null
        "created_at" => "2020-01-16 01:50:02"
        "updated_at" => "2020-01-17 06:34:14"
      ]
      #original: array:10 [
        "id" => "20"
        "name" => "Для дома"
        "banner" => ""
        "category_id" => "5"
        "slug" => "--Tfviy"
        "meta_title" => null
        "meta_description" => null
        "meta_tags" => null
        "created_at" => "2020-01-16 01:50:02"
        "updated_at" => "2020-01-17 06:34:14"
      ]
      #changes: []
      #casts: []
      #dates: []
      #dateFormat: null
      #appends: []
      #dispatchesEvents: []
      #observables: []
      #relations: []
      #touches: []
      +timestamps: true
      #hidden: []
      #visible: []
      #fillable: []
      #guarded: array:1 [
        0 => "*"
      ]
    }
    1 => App\SubCategory {#2448
      #connection: "mysql"
      #table: "sub_categories"
      #primaryKey: "id"
      #keyType: "int"
      +incrementing: true
      #with: []
      #withCount: []
      #perPage: 15
      +exists: true
      +wasRecentlyCreated: false
      #attributes: array:10 [
        "id" => "57"
        "name" => "Хозяйственные товары"
        "banner" => "uploads/categories/banner/yxeT68pMFIjvaPUpWEQm6F9u44xpKk8qRsbG5mot.png"
        "category_id" => "5"
        "slug" => "--hKBx5"
        "meta_title" => null
        "meta_description" => null
        "meta_tags" => null
        "created_at" => "2020-08-17 20:12:02"
        "updated_at" => "2020-09-05 14:23:42"
      ]
      #original: array:10 [
        "id" => "57"
        "name" => "Хозяйственные товары"
        "banner" => "uploads/categories/banner/yxeT68pMFIjvaPUpWEQm6F9u44xpKk8qRsbG5mot.png"
        "category_id" => "5"
        "slug" => "--hKBx5"
        "meta_title" => null
        "meta_description" => null
        "meta_tags" => null
        "created_at" => "2020-08-17 20:12:02"
        "updated_at" => "2020-09-05 14:23:42"
      ]
      #changes: []
      #casts: []
      #dates: []
      #dateFormat: null
      #appends: []
      #dispatchesEvents: []
      #observables: []
      #relations: []
      #touches: []
      +timestamps: true
      #hidden: []
      #visible: []
      #fillable: []
      #guarded: array:1 [
        0 => "*"
      ]
    }
    2 => App\SubCategory {#2449
      #connection: "mysql"
      #table: "sub_categories"
      #primaryKey: "id"
      #keyType: "int"
      +incrementing: true
      #with: []
      #withCount: []
      #perPage: 15
      +exists: true
      +wasRecentlyCreated: false
      #attributes: array:10 [
        "id" => "86"
        "name" => "Ванная"
        "banner" => ""
        "category_id" => "5"
        "slug" => "-7RJmn"
        "meta_title" => "Ванная"
        "meta_description" => null
        "meta_tags" => null
        "created_at" => "2020-08-29 15:55:43"
        "updated_at" => "2020-08-29 15:55:43"
      ]
      #original: array:10 [
        "id" => "86"
        "name" => "Ванная"
        "banner" => ""
        "category_id" => "5"
        "slug" => "-7RJmn"
        "meta_title" => "Ванная"
        "meta_description" => null
        "meta_tags" => null
        "created_at" => "2020-08-29 15:55:43"
        "updated_at" => "2020-08-29 15:55:43"
      ]
      #changes: []
      #casts: []
      #dates: []
      #dateFormat: null
      #appends: []
      #dispatchesEvents: []
      #observables: []
      #relations: []
      #touches: []
      +timestamps: true
      #hidden: []
      #visible: []
      #fillable: []
      #guarded: array:1 [
        0 => "*"
      ]
    }
    3 => App\SubCategory {#2450
      #connection: "mysql"
      #table: "sub_categories"
      #primaryKey: "id"
      #keyType: "int"
      +incrementing: true
      #with: []
      #withCount: []
      #perPage: 15
      +exists: true
      +wasRecentlyCreated: false
      #attributes: array:10 [
        "id" => "88"
        "name" => "Кухня"
        "banner" => ""
        "category_id" => "5"
        "slug" => "-9SUrm"
        "meta_title" => "Кухня"
        "meta_description" => null
        "meta_tags" => null
        "created_at" => "2020-08-29 15:56:09"
        "updated_at" => "2020-08-29 15:56:09"
      ]
      #original: array:10 [
        "id" => "88"
        "name" => "Кухня"
        "banner" => ""
        "category_id" => "5"
        "slug" => "-9SUrm"
        "meta_title" => "Кухня"
        "meta_description" => null
        "meta_tags" => null
        "created_at" => "2020-08-29 15:56:09"
        "updated_at" => "2020-08-29 15:56:09"
      ]
      #changes: []
      #casts: []
      #dates: []
      #dateFormat: null
      #appends: []
      #dispatchesEvents: []
      #observables: []
      #relations: []
      #touches: []
      +timestamps: true
      #hidden: []
      #visible: []
      #fillable: []
      #guarded: array:1 [
        0 => "*"
      ]
    }
    4 => App\SubCategory {#2451
      #connection: "mysql"
      #table: "sub_categories"
      #primaryKey: "id"
      #keyType: "int"
      +incrementing: true
      #with: []
      #withCount: []
      #perPage: 15
      +exists: true
      +wasRecentlyCreated: false
      #attributes: array:10 [
        "id" => "89"
        "name" => "Предметы интерьера"
        "banner" => ""
        "category_id" => "5"
        "slug" => "--bh8WX"
        "meta_title" => "Предметы интерьера"
        "meta_description" => null
        "meta_tags" => null
        "created_at" => "2020-08-29 15:56:27"
        "updated_at" => "2020-08-29 15:56:27"
      ]
      #original: array:10 [
        "id" => "89"
        "name" => "Предметы интерьера"
        "banner" => ""
        "category_id" => "5"
        "slug" => "--bh8WX"
        "meta_title" => "Предметы интерьера"
        "meta_description" => null
        "meta_tags" => null
        "created_at" => "2020-08-29 15:56:27"
        "updated_at" => "2020-08-29 15:56:27"
      ]
      #changes: []
      #casts: []
      #dates: []
      #dateFormat: null
      #appends: []
      #dispatchesEvents: []
      #observables: []
      #relations: []
      #touches: []
      +timestamps: true
      #hidden: []
      #visible: []
      #fillable: []
      #guarded: array:1 [
        0 => "*"
      ]
    }
    5 => App\SubCategory {#2452
      #connection: "mysql"
      #table: "sub_categories"
      #primaryKey: "id"
      #keyType: "int"
      +incrementing: true
      #with: []
      #withCount: []
      #perPage: 15
      +exists: true
      +wasRecentlyCreated: false
      #attributes: array:10 [
        "id" => "90"
        "name" => "Спальня"
        "banner" => ""
        "category_id" => "5"
        "slug" => "-5rVvs"
        "meta_title" => "Спальня"
        "meta_description" => null
        "meta_tags" => null
        "created_at" => "2020-08-29 15:56:39"
        "updated_at" => "2020-08-29 15:56:39"
      ]
      #original: array:10 [
        "id" => "90"
        "name" => "Спальня"
        "banner" => ""
        "category_id" => "5"
        "slug" => "-5rVvs"
        "meta_title" => "Спальня"
        "meta_description" => null
        "meta_tags" => null
        "created_at" => "2020-08-29 15:56:39"
        "updated_at" => "2020-08-29 15:56:39"
      ]
      #changes: []
      #casts: []
      #dates: []
      #dateFormat: null
      #appends: []
      #dispatchesEvents: []
      #observables: []
      #relations: []
      #touches: []
      +timestamps: true
      #hidden: []
      #visible: []
      #fillable: []
      #guarded: array:1 [
        0 => "*"
      ]
    }
    6 => App\SubCategory {#2453
      #connection: "mysql"
      #table: "sub_categories"
      #primaryKey: "id"
      #keyType: "int"
      +incrementing: true
      #with: []
      #withCount: []
      #perPage: 15
      +exists: true
      +wasRecentlyCreated: false
      #attributes: array:10 [
        "id" => "91"
        "name" => "Гостиная"
        "banner" => ""
        "category_id" => "5"
        "slug" => "-pm4gI"
        "meta_title" => "Гостиная"
        "meta_description" => null
        "meta_tags" => null
        "created_at" => "2020-08-29 15:56:49"
        "updated_at" => "2020-08-29 15:56:49"
      ]
      #original: array:10 [
        "id" => "91"
        "name" => "Гостиная"
        "banner" => ""
        "category_id" => "5"
        "slug" => "-pm4gI"
        "meta_title" => "Гостиная"
        "meta_description" => null
        "meta_tags" => null
        "created_at" => "2020-08-29 15:56:49"
        "updated_at" => "2020-08-29 15:56:49"
      ]
      #changes: []
      #casts: []
      #dates: []
      #dateFormat: null
      #appends: []
      #dispatchesEvents: []
      #observables: []
      #relations: []
      #touches: []
      +timestamps: true
      #hidden: []
      #visible: []
      #fillable: []
      #guarded: array:1 [
        0 => "*"
      ]
    }
    7 => App\SubCategory {#2454
      #connection: "mysql"
      #table: "sub_categories"
      #primaryKey: "id"
      #keyType: "int"
      +incrementing: true
      #with: []
      #withCount: []
      #perPage: 15
      +exists: true
      +wasRecentlyCreated: false
      #attributes: array:10 [
        "id" => "92"
        "name" => "Детская"
        "banner" => ""
        "category_id" => "5"
        "slug" => "-7gNzE"
        "meta_title" => "Детская"
        "meta_description" => null
        "meta_tags" => null
        "created_at" => "2020-08-29 15:57:03"
        "updated_at" => "2020-08-29 15:57:03"
      ]
      #original: array:10 [
        "id" => "92"
        "name" => "Детская"
        "banner" => ""
        "category_id" => "5"
        "slug" => "-7gNzE"
        "meta_title" => "Детская"
        "meta_description" => null
        "meta_tags" => null
        "created_at" => "2020-08-29 15:57:03"
        "updated_at" => "2020-08-29 15:57:03"
      ]
      #changes: []
      #casts: []
      #dates: []
      #dateFormat: null
      #appends: []
      #dispatchesEvents: []
      #observables: []
      #relations: []
      #touches: []
      +timestamps: true
      #hidden: []
      #visible: []
      #fillable: []
      #guarded: array:1 [
        0 => "*"
      ]
    }
    8 => App\SubCategory {#2455
      #connection: "mysql"
      #table: "sub_categories"
      #primaryKey: "id"
      #keyType: "int"
      +incrementing: true
      #with: []
      #withCount: []
      #perPage: 15
      +exists: true
      +wasRecentlyCreated: false
      #attributes: array:10 [
        "id" => "93"
        "name" => "Досуг и творчество"
        "banner" => ""
        "category_id" => "5"
        "slug" => "---6mDv0"
        "meta_title" => "Досуг и творчество"
        "meta_description" => null
        "meta_tags" => null
        "created_at" => "2020-08-29 15:57:16"
        "updated_at" => "2020-08-29 15:57:16"
      ]
      #original: array:10 [
        "id" => "93"
        "name" => "Досуг и творчество"
        "banner" => ""
        "category_id" => "5"
        "slug" => "---6mDv0"
        "meta_title" => "Досуг и творчество"
        "meta_description" => null
        "meta_tags" => null
        "created_at" => "2020-08-29 15:57:16"
        "updated_at" => "2020-08-29 15:57:16"
      ]
      #changes: []
      #casts: []
      #dates: []
      #dateFormat: null
      #appends: []
      #dispatchesEvents: []
      #observables: []
      #relations: []
      #touches: []
      +timestamps: true
      #hidden: []
      #visible: []
      #fillable: []
      #guarded: array:1 [
        0 => "*"
      ]
    }
    9 => App\SubCategory {#2456
      #connection: "mysql"
      #table: "sub_categories"
      #primaryKey: "id"
      #keyType: "int"
      +incrementing: true
      #with: []
      #withCount: []
      #perPage: 15
      +exists: true
      +wasRecentlyCreated: false
      #attributes: array:10 [
        "id" => "96"
        "name" => "Мебель"
        "banner" => ""
        "category_id" => "5"
        "slug" => "-72v86"
        "meta_title" => "Мебель"
        "meta_description" => null
        "meta_tags" => null
        "created_at" => "2020-08-29 15:57:58"
        "updated_at" => "2020-08-29 15:57:58"
      ]
      #original: array:10 [
        "id" => "96"
        "name" => "Мебель"
        "banner" => ""
        "category_id" => "5"
        "slug" => "-72v86"
        "meta_title" => "Мебель"
        "meta_description" => null
        "meta_tags" => null
        "created_at" => "2020-08-29 15:57:58"
        "updated_at" => "2020-08-29 15:57:58"
      ]
      #changes: []
      #casts: []
      #dates: []
      #dateFormat: null
      #appends: []
      #dispatchesEvents: []
      #observables: []
      #relations: []
      #touches: []
      +timestamps: true
      #hidden: []
      #visible: []
      #fillable: []
      #guarded: array:1 [
        0 => "*"
      ]
    }
    10 => App\SubCategory {#2457
      #connection: "mysql"
      #table: "sub_categories"
      #primaryKey: "id"
      #keyType: "int"
      +incrementing: true
      #with: []
      #withCount: []
      #perPage: 15
      +exists: true
      +wasRecentlyCreated: false
      #attributes: array:10 [
        "id" => "97"
        "name" => "Прихожая"
        "banner" => ""
        "category_id" => "5"
        "slug" => "-EZAsk"
        "meta_title" => "Прихожая"
        "meta_description" => null
        "meta_tags" => null
        "created_at" => "2020-08-29 15:58:12"
        "updated_at" => "2020-08-29 15:58:12"
      ]
      #original: array:10 [
        "id" => "97"
        "name" => "Прихожая"
        "banner" => ""
        "category_id" => "5"
        "slug" => "-EZAsk"
        "meta_title" => "Прихожая"
        "meta_description" => null
        "meta_tags" => null
        "created_at" => "2020-08-29 15:58:12"
        "updated_at" => "2020-08-29 15:58:12"
      ]
      #changes: []
      #casts: []
      #dates: []
      #dateFormat: null
      #appends: []
      #dispatchesEvents: []
      #observables: []
      #relations: []
      #touches: []
      +timestamps: true
      #hidden: []
      #visible: []
      #fillable: []
      #guarded: array:1 [
        0 => "*"
      ]
    }
  ]
}
Все товары категории в Товары для дома