Категории Показать все
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" => "71"
        "name" => "Для девочек"
        "banner" => "uploads/categories/banner/OADWyT9WrUxBepvk32KUuR55Nt1FdM6ZRdKMLEH5.png"
        "category_id" => "37"
        "slug" => "--Xzm4W"
        "meta_title" => "Для девочек"
        "meta_description" => null
        "meta_tags" => null
        "created_at" => "2020-08-25 16:10:49"
        "updated_at" => "2020-09-05 15:04:22"
      ]
      #original: array:10 [
        "id" => "71"
        "name" => "Для девочек"
        "banner" => "uploads/categories/banner/OADWyT9WrUxBepvk32KUuR55Nt1FdM6ZRdKMLEH5.png"
        "category_id" => "37"
        "slug" => "--Xzm4W"
        "meta_title" => "Для девочек"
        "meta_description" => null
        "meta_tags" => null
        "created_at" => "2020-08-25 16:10:49"
        "updated_at" => "2020-09-05 15:04:22"
      ]
      #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" => "72"
        "name" => "Для мальчиков"
        "banner" => "uploads/categories/banner/0JRiFKVKhANN1QlUUxLVXnh7vlb0x0ZJoXvIZDVi.png"
        "category_id" => "37"
        "slug" => "--WDol8"
        "meta_title" => "Для мальчиков"
        "meta_description" => null
        "meta_tags" => null
        "created_at" => "2020-08-25 16:11:00"
        "updated_at" => "2020-09-05 15:13:47"
      ]
      #original: array:10 [
        "id" => "72"
        "name" => "Для мальчиков"
        "banner" => "uploads/categories/banner/0JRiFKVKhANN1QlUUxLVXnh7vlb0x0ZJoXvIZDVi.png"
        "category_id" => "37"
        "slug" => "--WDol8"
        "meta_title" => "Для мальчиков"
        "meta_description" => null
        "meta_tags" => null
        "created_at" => "2020-08-25 16:11:00"
        "updated_at" => "2020-09-05 15:13:47"
      ]
      #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" => "73"
        "name" => "Для новорожденных"
        "banner" => "uploads/categories/banner/HPZxw4a7SvacfwuuoxcT9KS8flCzHd8cBPIpkvL7.png"
        "category_id" => "37"
        "slug" => "--0VkHZ"
        "meta_title" => "Для новорожденных"
        "meta_description" => null
        "meta_tags" => null
        "created_at" => "2020-08-25 16:17:47"
        "updated_at" => "2020-09-05 15:16:20"
      ]
      #original: array:10 [
        "id" => "73"
        "name" => "Для новорожденных"
        "banner" => "uploads/categories/banner/HPZxw4a7SvacfwuuoxcT9KS8flCzHd8cBPIpkvL7.png"
        "category_id" => "37"
        "slug" => "--0VkHZ"
        "meta_title" => "Для новорожденных"
        "meta_description" => null
        "meta_tags" => null
        "created_at" => "2020-08-25 16:17:47"
        "updated_at" => "2020-09-05 15:16:20"
      ]
      #changes: []
      #casts: []
      #dates: []
      #dateFormat: null
      #appends: []
      #dispatchesEvents: []
      #observables: []
      #relations: []
      #touches: []
      +timestamps: true
      #hidden: []
      #visible: []
      #fillable: []
      #guarded: array:1 [
        0 => "*"
      ]
    }
  ]
}
Все товары категории в Для детей