Dumped Contents
In
TaxonController.php
line 202:
return $row->getId();
}, $siteFilterFacets));
dump( $esAggregations);
$siteFilterShape = [];
if (count($esAggregations['shape']['buckets']) > 1) {
array:17 [
12 => array:3 [
"doc_count_error_upper_bound" => 0
"sum_other_doc_count" => 0
"buckets" => []
]
13 => array:3 [
"doc_count_error_upper_bound" => 0
"sum_other_doc_count" => 0
"buckets" => []
]
14 => array:3 [
"doc_count_error_upper_bound" => 0
"sum_other_doc_count" => 0
"buckets" => array:1 [
0 => array:2 [
"key" => "pour elle"
"doc_count" => 20
]
]
]
15 => array:3 [
"doc_count_error_upper_bound" => 0
"sum_other_doc_count" => 0
"buckets" => []
]
"color" => array:3 [
"doc_count_error_upper_bound" => 0
"sum_other_doc_count" => 0
"buckets" => array:20 [
0 => array:2 [
"key" => "316"
"doc_count" => 1
]
1 => array:2 [
"key" => "332"
"doc_count" => 1
]
2 => array:2 [
"key" => "3672"
"doc_count" => 1
]
3 => array:2 [
"key" => "3845"
"doc_count" => 1
]
4 => array:2 [
"key" => "3964"
"doc_count" => 1
]
5 => array:2 [
"key" => "3966"
"doc_count" => 1
]
6 => array:2 [
"key" => "4095"
"doc_count" => 1
]
7 => array:2 [
"key" => "4097"
"doc_count" => 1
]
8 => array:2 [
"key" => "4117"
"doc_count" => 1
]
9 => array:2 [
"key" => "4127"
"doc_count" => 1
]
10 => array:2 [
"key" => "4133"
"doc_count" => 1
]
11 => array:2 [
"key" => "4138"
"doc_count" => 1
]
12 => array:2 [
"key" => "4140"
"doc_count" => 1
]
13 => array:2 [
"key" => "4153"
"doc_count" => 1
]
14 => array:2 [
"key" => "4186"
"doc_count" => 1
]
15 => array:2 [
"key" => "4187"
"doc_count" => 1
]
16 => array:2 [
"key" => "4193"
"doc_count" => 1
]
17 => array:2 [
"key" => "4211"
"doc_count" => 1
]
18 => array:2 [
"key" => "4262"
"doc_count" => 1
]
19 => array:2 [
"key" => "435"
"doc_count" => 1
]
]
]
"shape" => array:3 [
"doc_count_error_upper_bound" => 0
"sum_other_doc_count" => 0
"buckets" => array:2 [
0 => array:2 [
"key" => 2409
"doc_count" => 19
]
1 => array:2 [
"key" => 2428
"doc_count" => 1
]
]
]
16 => array:3 [
"doc_count_error_upper_bound" => 0
"sum_other_doc_count" => 0
"buckets" => array:1 [
0 => array:2 [
"key" => "pour elle"
"doc_count" => 20
]
]
]
17 => array:3 [
"doc_count_error_upper_bound" => 0
"sum_other_doc_count" => 0
"buckets" => array:2 [
0 => array:2 [
"key" => "oui"
"doc_count" => 12
]
1 => array:2 [
"key" => "non"
"doc_count" => 2
]
]
]
"badge" => array:3 [
"doc_count_error_upper_bound" => 0
"sum_other_doc_count" => 0
"buckets" => array:2 [
0 => array:2 [
"key" => "solde"
"doc_count" => 2
]
1 => array:2 [
"key" => "newest"
"doc_count" => 1
]
]
]
"max_price" => array:1 [
"value" => 1900.0
]
"min_price" => array:1 [
"value" => 650.0
]
5 => array:3 [
"doc_count_error_upper_bound" => 0
"sum_other_doc_count" => 0
"buckets" => []
]
6 => array:3 [
"doc_count_error_upper_bound" => 0
"sum_other_doc_count" => 0
"buckets" => []
]
7 => array:3 [
"doc_count_error_upper_bound" => 0
"sum_other_doc_count" => 0
"buckets" => []
]
8 => array:3 [
"doc_count_error_upper_bound" => 0
"sum_other_doc_count" => 0
"buckets" => []
]
9 => array:3 [
"doc_count_error_upper_bound" => 0
"sum_other_doc_count" => 0
"buckets" => []
]
10 => array:3 [
"doc_count_error_upper_bound" => 0
"sum_other_doc_count" => 0
"buckets" => array:1 [
0 => array:2 [
"key" => "jersey"
"doc_count" => 14
]
]
]
]
In
TaxonController.php
line 221:
});
}
dump($siteFilterShape);
// dump($esAggregations) ;
array:2 [
0 => App\Entity\Product\Product {#8402
#conditioning: "quantity"
#strongPoints: []
#article: null
#giftWrapMyself: false
#giftWrapByPPMC: false
#googleProductTypeId: 543543
#variantSelectionMethod: "choice"
#productTaxons: Doctrine\ORM\PersistentCollection {#8434
-snapshot: []
-owner: App\Entity\Product\Product {#8402}
-association: array:15 [ …15]
-em: Doctrine\ORM\EntityManager {#4312 …11}
-backRefFieldName: "product"
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#8438 …}
-isDirty: false
#collection: Doctrine\Common\Collections\ArrayCollection {#8460
-elements: []
}
#initialized: false
}
#channels: Doctrine\ORM\PersistentCollection {#8457
-snapshot: []
-owner: App\Entity\Product\Product {#8402}
-association: array:20 [ …20]
-em: Doctrine\ORM\EntityManager {#4312 …11}
-backRefFieldName: null
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1367 …}
-isDirty: false
#collection: Doctrine\Common\Collections\ArrayCollection {#8466
-elements: []
}
#initialized: false
}
#mainTaxon: App\Entity\Taxonomy\Taxon {#7393
-categoryType: "category_type_fabric"
-singleArticle: null
-singleArticleCategory: Proxies\__CG__\App\Entity\SiteArticleCategory {#7394
+__isInitialized__: false
#id: 3
#images: null
#createdAt: null
#updatedAt: null
#translations: null
#translationsCache: []
#currentLocale: null
#currentTranslation: null
#fallbackLocale: null
…2
}
-singleArticleCategoryTitle: "Nos projets couture & astuces"
-singleArticleCategoryTitleen: null
-looks: null
-ctas: []
-ctasEn: []
-referencement: """
<h2>Les spécificités des tissus au mètre Papa Pique et Maman Coud</h2>\r\n
La conception et fabrication de nos tissus évoluent en permanence.<br />\r\n
Sachez qu'un tiers des tissus imprimés PPMC sont créés en exclusivité par des illustrateurs partenaires. Vous ne retrouverez donc pas ces motifs de tissu ailleurs.<br />\r\n
Nous proposons deux nouvelles collections de tissu par mois ce qui permet à nos fidèles clients de varier leur projet couture et nous l'espérons de les inspirer !<br />\r\n
En matière de fabrication, nous utilisons désormais du coton biologique pour les tissus dont nous maîtrisons la teinture et l'impression. Ainsi, le coton biologique représente 37 % de l’ensemble de nos tissus. <br />\r\n
S'agissant de nos tissus enduits, l'enduction (traitement de surface rendant le tissu résistant et imperméable), est faite avec du PVC sans phtalates afin de préserver la santé de tous. Et désormais depuis l'été 2022, notre partenaire français utilise un PVC plastifié avec une huile végétale pour assurer l'enduction de nos tissus.
"""
-referencementen: """
<h2>The specificities of Papa Pique and Maman Coud fabrics by the meter</h2>\r\n
The design and manufacture of our fabrics are constantly evolving.<br />\r\n
You should know that a third of the PPMC printed fabrics are created exclusively by partner illustrators. You won't find these fabric designs anywhere else.<br />\r\n
We offer two new fabric collections per month which allows our loyal customers to vary their sewing projects and hopefully inspire them!<br />\r\n
In terms of manufacturing, we now use organic cotton for the fabrics we dye and print. Organic cotton represents 37% of all our fabrics. <br />\r\n
For our coated fabrics, the coating (surface treatment making the fabric resistant and waterproof) is made with phthalate-free PVC to protect everyone's health. And since summer 2022, our French partner uses a PVC plasticized with a vegetable oil to ensure the coating of our fabrics.
"""
-seoLinks: []
#filters: null
#automatic: false
#images: Doctrine\ORM\PersistentCollection {#7397
-snapshot: []
-owner: App\Entity\Taxonomy\Taxon {#7393}
-association: array:15 [ …15]
-em: Doctrine\ORM\EntityManager {#4312 …11}
-backRefFieldName: "owner"
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#6539 …}
-isDirty: false
#collection: Doctrine\Common\Collections\ArrayCollection {#7398
-elements: []
}
#initialized: false
}
#id: 223
#code: "tissu"
#root: App\Entity\Taxonomy\Taxon {#7384
-categoryType: "category_type_fabric"
-singleArticle: null
-singleArticleCategory: null
-singleArticleCategoryTitle: null
-singleArticleCategoryTitleen: null
-looks: null
-ctas: []
-ctasEn: null
-referencement: null
-referencementen: null
-seoLinks: null
#filters: null
#automatic: false
#images: Doctrine\ORM\PersistentCollection {#7387
-snapshot: []
-owner: App\Entity\Taxonomy\Taxon {#7384}
-association: array:15 [ …15]
-em: Doctrine\ORM\EntityManager {#4312 …11}
-backRefFieldName: "owner"
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#6539 …}
-isDirty: false
#collection: Doctrine\Common\Collections\ArrayCollection {#7388
-elements: []
}
#initialized: false
}
#id: 222
#code: "tissus-et-petite-mercerie"
#root: App\Entity\Taxonomy\Taxon {#7384}
#parent: null
#children: Doctrine\ORM\PersistentCollection {#7389
-snapshot: []
-owner: App\Entity\Taxonomy\Taxon {#7384}
-association: array:16 [ …16]
-em: Doctrine\ORM\EntityManager {#4312 …11}
-backRefFieldName: "parent"
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#5123 …}
-isDirty: false
#collection: Doctrine\Common\Collections\ArrayCollection {#7390
-elements: []
}
#initialized: false
}
#left: 1
#right: 26
#level: 0
#position: -7
#translations: Doctrine\ORM\PersistentCollection {#7385
-snapshot: []
-owner: App\Entity\Taxonomy\Taxon {#7384}
-association: array:16 [ …16]
-em: Doctrine\ORM\EntityManager {#4312 …11}
-backRefFieldName: "translatable"
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#6509 …}
-isDirty: false
#collection: Doctrine\Common\Collections\ArrayCollection {#7386
-elements: []
}
#initialized: false
}
#translationsCache: array:1 [
"fr_FR" => App\Entity\Taxonomy\TaxonTranslation {#8251
#seoTitle: "Tissus et Petite mercerie"
#seoMetaDescription: "Craquez pour les Tissus et la Petite mercerie Papa Pique et Maman Coud. Plusieurs matières de tissu, biais, rubans et coupons enduits. Beaux imprimés et coloris. Livraison gratuite dès 50€ d'achat."
#rectangleOrangeText: null
#rectangleOrangeTextButton: null
#rectangleOrangeTextUrl: null
-linkImageLastLevel1: null
-linkImageLastLevel2: null
#id: 354
#name: "Tissus et petite mercerie"
#slug: "tissus-et-petite-mercerie"
#description: """
<h1>Les différentes variétés de tissus Papa Pique et Maman Coud et la mercerie créative </h1>\r\n
Découvrez notre <strong>large choix de tissus au mètre</strong>, avec de jolis imprimés <strong>acidulés et audacieux</strong>. <strong>Jersey, Coton, Voile de coton, Lin et coton enduit</strong> pour tous les styles et toutes les créations possibles. <br />\r\n
Chez Papa Pique et Maman Coud nous aimons cultiver la <strong>passion des imprimés et de cette créativité</strong>, pour ça nous proposons également <strong>des biais, rubans et coupons enduits</strong> pour créer tout ce que vous souhaitez. \r\n
\r\n
<h2> </h2>
"""
#locale: "fr_FR"
#translatable: App\Entity\Taxonomy\Taxon {#7384}
}
]
#currentLocale: "fr_FR"
#currentTranslation: null
#fallbackLocale: "fr_FR"
#enabled: true
#createdAt: DateTime @1659013121 {#7382
date: 2022-07-28 14:58:41.0 Europe/Berlin (+02:00)
}
#updatedAt: DateTime @1668677639 {#7383
date: 2022-11-17 10:33:59.0 Europe/Berlin (+01:00)
}
}
#parent: App\Entity\Taxonomy\Taxon {#7384}
#children: Doctrine\ORM\PersistentCollection {#7399
-snapshot: []
-owner: App\Entity\Taxonomy\Taxon {#7393}
-association: array:16 [ …16]
-em: Doctrine\ORM\EntityManager {#4312 …11}
-backRefFieldName: "parent"
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#5123 …}
-isDirty: false
#collection: Doctrine\Common\Collections\ArrayCollection {#7400
-elements: []
}
#initialized: false
}
#left: 2
#right: 15
#level: 1
#position: 0
#translations: Doctrine\ORM\PersistentCollection {#7395
-snapshot: []
-owner: App\Entity\Taxonomy\Taxon {#7393}
-association: array:16 [ …16]
-em: Doctrine\ORM\EntityManager {#4312 …11}
-backRefFieldName: "translatable"
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#6509 …}
-isDirty: false
#collection: Doctrine\Common\Collections\ArrayCollection {#7396
-elements: []
}
#initialized: false
}
#translationsCache: array:1 [
"fr_FR" => App\Entity\Taxonomy\TaxonTranslation {#8211
#seoTitle: "Tissu au Mètre et Coupons"
#seoMetaDescription: "Vente en ligne de tissus au mètre et coupons : coton, coton enduit, jersey, voile de coton, gaze de coton et lin - Beaux imprimés et coloris et tissus aux imprimés originaux."
#rectangleOrangeText: null
#rectangleOrangeTextButton: null
#rectangleOrangeTextUrl: null
-linkImageLastLevel1: null
-linkImageLastLevel2: null
#id: 355
#name: "Tissus"
#slug: "tissus-et-petite-mercerie/tissus"
#description: """
<h2>Découvrez nos tissus vendus au mètre. De nouveaux tissus originaux tous les mois. </h2>\r\n
Laissez aller votre inspiration et craquez pour nos <strong>tissus imprimés en coton, jersey, lin et en coton enduit</strong>. Réalisez tous vos <strong>projets couture</strong> avec nos tissus que ce soit pour des vêtements, des petits accessoires ou une grande nappe. Choisissez parmi tous nos tissus au mètre originaux : <strong>tissus imprimés, tissus fleuris, tissus vichy, tissus à pois, tissus pas chers</strong> …<br />\r\n
Et si vous êtes à la recherche de nouveautés, nous vous proposons une sélection de nos derniers tissus au mètre disponibles sur le site et en boutique tissu.<br />\r\n
Besoin de conseils pour choisir votre tissu Papa Pique et Maman Coud ? N'hésitez pas à parcourir notre guide d'achat ou à consulter notre service client via notre formulaire.<br />\r\n
Vous pouvez également vous rendre dans un de<strong> nos magasins</strong> qui vendent du tissu (<strong>Carnac, Caen, Angers, Noirmoutier</strong>).
"""
#locale: "fr_FR"
#translatable: App\Entity\Taxonomy\Taxon {#7393}
}
]
#currentLocale: "fr_FR"
#currentTranslation: null
#fallbackLocale: "fr_FR"
#enabled: true
#createdAt: DateTime @1659013293 {#7391
date: 2022-07-28 15:01:33.0 Europe/Berlin (+02:00)
}
#updatedAt: DateTime @1675434805 {#7392
date: 2023-02-03 15:33:25.0 Europe/Berlin (+01:00)
}
}
#reviews: Doctrine\ORM\PersistentCollection {#8598
-snapshot: []
-owner: App\Entity\Product\Product {#8402}
-association: array:15 [ …15]
-em: Doctrine\ORM\EntityManager {#4312 …11}
-backRefFieldName: "reviewSubject"
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#8508 …}
-isDirty: false
#collection: Doctrine\Common\Collections\ArrayCollection {#8596
-elements: []
}
#initialized: false
}
#averageRating: 0.0
#images: Doctrine\ORM\PersistentCollection {#8473
-snapshot: []
-owner: App\Entity\Product\Product {#8402}
-association: array:15 [ …15]
-em: Doctrine\ORM\EntityManager {#4312 …11}
-backRefFieldName: "owner"
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#8459 …}
-isDirty: false
#collection: Doctrine\Common\Collections\ArrayCollection {#8471
-elements: []
}
#initialized: false
}
#id: 2428
#code: "LIV.ZER.DE"
#attributes: Doctrine\ORM\PersistentCollection {#8477
-snapshot: []
-owner: App\Entity\Product\Product {#8402}
-association: array:15 [ …15]
-em: Doctrine\ORM\EntityManager {#4312 …11}
-backRefFieldName: "subject"
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#8143 …}
-isDirty: false
#collection: Doctrine\Common\Collections\ArrayCollection {#8475
-elements: []
}
#initialized: false
}
#variants: Doctrine\ORM\PersistentCollection {#8476
-snapshot: []
-owner: App\Entity\Product\Product {#8402}
-association: array:16 [ …16]
-em: Doctrine\ORM\EntityManager {#4312 …11}
-backRefFieldName: "product"
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#8079 …}
-isDirty: false
#collection: Doctrine\Common\Collections\ArrayCollection {#8478
-elements: []
}
#initialized: false
}
#options: Doctrine\ORM\PersistentCollection {#8470
-snapshot: []
-owner: App\Entity\Product\Product {#8402}
-association: array:21 [ …21]
-em: Doctrine\ORM\EntityManager {#4312 …11}
-backRefFieldName: null
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#8260 …}
-isDirty: false
#collection: Doctrine\Common\Collections\ArrayCollection {#8484
-elements: []
}
#initialized: false
}
#associations: Doctrine\ORM\PersistentCollection {#8485
-snapshot: []
-owner: App\Entity\Product\Product {#8402}
-association: array:15 [ …15]
-em: Doctrine\ORM\EntityManager {#4312 …11}
-backRefFieldName: "owner"
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#8479 …}
-isDirty: false
#collection: Doctrine\Common\Collections\ArrayCollection {#8491
-elements: []
}
#initialized: false
}
#createdAt: DateTime @1662035420 {#8406
date: 2022-09-01 14:30:20.0 Europe/Berlin (+02:00)
}
#updatedAt: DateTime @1676297550 {#8405
date: 2023-02-13 15:12:30.0 Europe/Berlin (+01:00)
}
#enabled: true
#translations: Doctrine\ORM\PersistentCollection {#8448
-snapshot: []
-owner: App\Entity\Product\Product {#8402}
-association: array:16 [ …16]
-em: Doctrine\ORM\EntityManager {#4312 …11}
-backRefFieldName: "translatable"
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#8428 …}
-isDirty: false
#collection: Doctrine\Common\Collections\ArrayCollection {#8447
-elements: []
}
#initialized: false
}
#translationsCache: array:1 [
"fr_FR" => App\Entity\Product\ProductTranslation {#8627
#advantages: """
<ul>\r\n
\t<li>Un livre rempli de tuto simple et pratique</li>\r\n
\t<li>Un cadeau facile pour les amateurs de couture</li>\r\n
</ul>
"""
#maintenance: null
#smallAddText: null
#shortDescription: null
#id: 73775
#name: "Livre Tuto Couture Zéro Déchet"
#slug: null
#description: """
Envie de coudre des objets du quotidien plus respectueux de l’environnement qui prônent le « zéro déchet » ? Réduire les emballages, le plastique, etc. et leur impact négatif sur la planète est une démarche qui nous tient particulièrement à coeur.<br />\r\n
<br />\r\n
Nous sommes fiers de vous présentés ce livre de couture, réalisé en partenariat avec l'équipe 100 idées. Nous vous avons concocté 25 projets couture utiles et responsables. Tous ont été confectionnés avec de beaux tissus de qualité, spécialement sélectionnés par l’équipe Papa Pique et Maman Coud. Des grands indispensables à des projets plus originaux, il y en a pour tous les goûts et tous les âges. Les tutoriels sont adaptés à tous les amoureux du faire soi-même, des débutants aux expérimentés.<br />\r\n
<br />\r\n
Libérez votre créativité et amusez-vous à nous imiter, voire à nous dépasser !
"""
#metaKeywords: null
#metaDescription: null
#locale: "fr_FR"
#translatable: App\Entity\Product\Product {#8402}
}
]
#currentLocale: "fr_FR"
#currentTranslation: null
#fallbackLocale: "fr_FR"
}
1 => App\Entity\Product\Product {#8599
#conditioning: "per_meter_each_0_5_meter"
#strongPoints: false
#article: Proxies\__CG__\App\Entity\SiteArticle {#7431
+__isInitialized__: false
#id: 16
#enabled: null
#dateDiffusion: null
#articleCategory: null
#images: null
#createdAt: null
#updatedAt: null
#translations: null
#translationsCache: []
#currentLocale: null
#currentTranslation: null
#fallbackLocale: null
…2
}
#giftWrapMyself: false
#giftWrapByPPMC: false
#googleProductTypeId: 47
#variantSelectionMethod: "choice"
#productTaxons: Doctrine\ORM\PersistentCollection {#8602
-snapshot: []
-owner: App\Entity\Product\Product {#8599}
-association: array:15 [ …15]
-em: Doctrine\ORM\EntityManager {#4312 …11}
-backRefFieldName: "product"
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#8438 …}
-isDirty: false
#collection: Doctrine\Common\Collections\ArrayCollection {#8603
-elements: []
}
#initialized: false
}
#channels: Doctrine\ORM\PersistentCollection {#8606
-snapshot: []
-owner: App\Entity\Product\Product {#8599}
-association: array:20 [ …20]
-em: Doctrine\ORM\EntityManager {#4312 …11}
-backRefFieldName: null
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1367 …}
-isDirty: false
#collection: Doctrine\Common\Collections\ArrayCollection {#8607
-elements: []
}
#initialized: false
}
#mainTaxon: App\Entity\Taxonomy\Taxon {#7430
-categoryType: "category_type_fabric"
-singleArticle: Proxies\__CG__\App\Entity\SiteArticle {#7431 …2}
-singleArticleCategory: null
-singleArticleCategoryTitle: null
-singleArticleCategoryTitleen: null
-looks: null
-ctas: null
-ctasEn: null
-referencement: null
-referencementen: null
-seoLinks: array:5 [
0 => 225
1 => 226
2 => 229
3 => 230
4 => 231
]
#filters: array:1 [
"filterTaxon" => array:1 [
"nos-tissus-jersey" => "Nos tissus jersey"
]
]
#automatic: false
#images: Doctrine\ORM\PersistentCollection {#7434
-snapshot: []
-owner: App\Entity\Taxonomy\Taxon {#7430}
-association: array:15 [ …15]
-em: Doctrine\ORM\EntityManager {#4312 …11}
-backRefFieldName: "owner"
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#6539 …}
-isDirty: false
#collection: Doctrine\Common\Collections\ArrayCollection {#7435
-elements: []
}
#initialized: false
}
#id: 228
#code: "nos-tissus-jersey"
#root: App\Entity\Taxonomy\Taxon {#7384}
#parent: App\Entity\Taxonomy\Taxon {#7393}
#children: Doctrine\ORM\PersistentCollection {#7436
-snapshot: []
-owner: App\Entity\Taxonomy\Taxon {#7430}
-association: array:16 [ …16]
-em: Doctrine\ORM\EntityManager {#4312 …11}
-backRefFieldName: "parent"
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#5123 …}
-isDirty: false
#collection: Doctrine\Common\Collections\ArrayCollection {#7437
-elements: []
}
#initialized: false
}
#left: 7
#right: 8
#level: 2
#position: 2
#translations: Doctrine\ORM\PersistentCollection {#7432
-snapshot: array:1 [ …1]
-owner: App\Entity\Taxonomy\Taxon {#7430}
-association: array:16 [ …16]
-em: Doctrine\ORM\EntityManager {#4312 …11}
-backRefFieldName: "translatable"
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#6509 …}
-isDirty: false
#collection: Doctrine\Common\Collections\ArrayCollection {#7433
-elements: array:1 [
"fr_FR" => App\Entity\Taxonomy\TaxonTranslation {#8223
#seoTitle: "Tissu jersey - Couleurs et Motifs variés - PPMC"
#seoMetaDescription: "Découvrez le tissu jersey PPMC, tissu coton doux et élastique très polyvalent permettant de réaliser de nombreux vêtements : t-shirts, robes, jupes…Choisissez votre coloris."
#rectangleOrangeText: null
#rectangleOrangeTextButton: null
#rectangleOrangeTextUrl: null
-linkImageLastLevel1: null
-linkImageLastLevel2: null
#id: 360
#name: "Nos tissus jersey"
#slug: "tissus-et-petite-mercerie/tissus/nos-tissus-jersey"
#description: """
<h2>Tissu jersey au mètre.</h2>\r\n
Parmi les <a href="https://www.papapiqueetmamancoud.fr/tissus-p.html">tissus au mètre</a> que nous proposons, découvrez le tissu jersey coton Papa Pique et Maman Coud. Le tissu jersey est une maille extensible dont les deux faces présentent des aspects différents. C’est un tissu doux et élastique très polyvalent permettant de réaliser de nombreux vêtements : t-shirts, robes, jupes… Le tissu jersey est disponible en plusieurs couleurs et motifs, il y en a pour tous les goûts ! Libérez votre imagination et réalisez la nouvelle pièce de votre garde-robe avec du tissu jersey coton PPMC.
"""
#locale: "fr_FR"
#translatable: App\Entity\Taxonomy\Taxon {#7430}
}
]
}
#initialized: true
}
#translationsCache: array:1 [
"fr_FR" => App\Entity\Taxonomy\TaxonTranslation {#8223}
]
#currentLocale: "fr_FR"
#currentTranslation: null
#fallbackLocale: "fr_FR"
#enabled: true
#createdAt: DateTime @1659013639 {#7428
date: 2022-07-28 15:07:19.0 Europe/Berlin (+02:00)
}
#updatedAt: DateTime @1721373811 {#7429
date: 2024-07-19 09:23:31.0 Europe/Berlin (+02:00)
}
}
#reviews: Doctrine\ORM\PersistentCollection {#8616
-snapshot: []
-owner: App\Entity\Product\Product {#8599}
-association: array:15 [ …15]
-em: Doctrine\ORM\EntityManager {#4312 …11}
-backRefFieldName: "reviewSubject"
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#8508 …}
-isDirty: false
#collection: Doctrine\Common\Collections\ArrayCollection {#8617
-elements: []
}
#initialized: false
}
#averageRating: 0.0
#images: Doctrine\ORM\PersistentCollection {#8604
-snapshot: []
-owner: App\Entity\Product\Product {#8599}
-association: array:15 [ …15]
-em: Doctrine\ORM\EntityManager {#4312 …11}
-backRefFieldName: "owner"
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#8459 …}
-isDirty: false
#collection: Doctrine\Common\Collections\ArrayCollection {#8605
-elements: []
}
#initialized: false
}
#id: 2409
#code: "TISS.JER"
#attributes: Doctrine\ORM\PersistentCollection {#8608
-snapshot: []
-owner: App\Entity\Product\Product {#8599}
-association: array:15 [ …15]
-em: Doctrine\ORM\EntityManager {#4312 …11}
-backRefFieldName: "subject"
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#8143 …}
-isDirty: false
#collection: Doctrine\Common\Collections\ArrayCollection {#8609
-elements: []
}
#initialized: false
}
#variants: Doctrine\ORM\PersistentCollection {#8610
-snapshot: []
-owner: App\Entity\Product\Product {#8599}
-association: array:16 [ …16]
-em: Doctrine\ORM\EntityManager {#4312 …11}
-backRefFieldName: "product"
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#8079 …}
-isDirty: false
#collection: Doctrine\Common\Collections\ArrayCollection {#8611
-elements: []
}
#initialized: false
}
#options: Doctrine\ORM\PersistentCollection {#8614
-snapshot: []
-owner: App\Entity\Product\Product {#8599}
-association: array:21 [ …21]
-em: Doctrine\ORM\EntityManager {#4312 …11}
-backRefFieldName: null
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#8260 …}
-isDirty: false
#collection: Doctrine\Common\Collections\ArrayCollection {#8615
-elements: []
}
#initialized: false
}
#associations: Doctrine\ORM\PersistentCollection {#8612
-snapshot: []
-owner: App\Entity\Product\Product {#8599}
-association: array:15 [ …15]
-em: Doctrine\ORM\EntityManager {#4312 …11}
-backRefFieldName: "owner"
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#8479 …}
-isDirty: false
#collection: Doctrine\Common\Collections\ArrayCollection {#8613
-elements: []
}
#initialized: false
}
#createdAt: DateTime @1649759265 {#8595
date: 2022-04-12 12:27:45.0 Europe/Berlin (+02:00)
}
#updatedAt: DateTime @1676299210 {#8597
date: 2023-02-13 15:40:10.0 Europe/Berlin (+01:00)
}
#enabled: true
#translations: Doctrine\ORM\PersistentCollection {#8600
-snapshot: []
-owner: App\Entity\Product\Product {#8599}
-association: array:16 [ …16]
-em: Doctrine\ORM\EntityManager {#4312 …11}
-backRefFieldName: "translatable"
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#8428 …}
-isDirty: false
#collection: Doctrine\Common\Collections\ArrayCollection {#8601
-elements: []
}
#initialized: false
}
#translationsCache: array:1 [
"fr_FR" => App\Entity\Product\ProductTranslation {#8630
#advantages: null
#maintenance: null
#smallAddText: null
#shortDescription: null
#id: 72558
#name: "Tissu jersey"
#slug: "72558"
#description: """
Tissu JERSEY coton<br />\r\n
<br />\r\n
Parfait pour vos réalisations de tee-shirt, legging, robe, bonnet, snood, body bébé et sous-vêtements pour toute la famille !<br />\r\n
<br />\r\n
95% coton 5% élasthanne<br />\r\n
Bi-stretch<br />\r\n
<br />\r\n
Laize : 150 cm<br />\r\n
Poids : 200 g/m²<br />\r\n
<br />\r\n
Certifié Oeko-Tex<br />\r\n
<br />\r\n
Repassage sur l'envers<br />\r\n
<br />\r\n
Veuillez indiquer dans la case quantité le nombre de mètres souhaité .<br />\r\n
Le prix indiqué est le prix au mètre.
"""
#metaKeywords: null
#metaDescription: null
#locale: "fr_FR"
#translatable: App\Entity\Product\Product {#8599}
}
]
#currentLocale: "fr_FR"
#currentTranslation: null
#fallbackLocale: "fr_FR"
}
]
In
TaxonController.php
line 254:
}
}
dump( $siteFilterFacetsValues);
// Conserve que les filtres à facettes disponible pour cette recherche
$siteFilterFacets = array_filter($siteFilterFacets, function ($row) use (&$siteFilterFacetsValues) {
array:4 [
"color" => array:20 [
0 => "316"
1 => "332"
2 => "435"
3 => "3672"
4 => "3845"
5 => "3964"
6 => "3966"
7 => "4095"
8 => "4097"
9 => "4117"
10 => "4127"
11 => "4133"
12 => "4138"
13 => "4140"
14 => "4153"
15 => "4186"
16 => "4187"
17 => "4193"
18 => "4211"
19 => "4262"
]
"shape" => array:2 [
0 => 2409
1 => 2428
]
17 => array:2 [
0 => "non"
1 => "oui"
]
"badge" => array:2 [
0 => "newest"
1 => "solde"
]
]
In
ElasticSearchService.php
line 385:
$client = ClientBuilder::create()->build();
$results = $client->search($params);
dump( $results);
return $results;
}
array:4 [
"took" => 0
"timed_out" => false
"_shards" => array:4 [
"total" => 1
"successful" => 1
"skipped" => 0
"failed" => 0
]
"hits" => array:3 [
"total" => array:2 [
"value" => 20
"relation" => "eq"
]
"max_score" => null
"hits" => array:20 [
0 => array:5 [
"_index" => "ppmcdev_2_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_41356"
"_score" => 3.0
"sort" => array:3 [
0 => 1
1 => 658
2 => 3.0
]
]
1 => array:5 [
"_index" => "ppmcdev_2_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_39907"
"_score" => 3.0
"sort" => array:3 [
0 => 4
1 => 22
2 => 3.0
]
]
2 => array:5 [
"_index" => "ppmcdev_2_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_39959"
"_score" => 3.0
"sort" => array:3 [
0 => 4
1 => 6
2 => 3.0
]
]
3 => array:5 [
"_index" => "ppmcdev_2_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_39966"
"_score" => 3.0
"sort" => array:3 [
0 => 100
1 => 37
2 => 3.0
]
]
4 => array:5 [
"_index" => "ppmcdev_2_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_39965"
"_score" => 3.0
"sort" => array:3 [
0 => 100
1 => 32
2 => 3.0
]
]
5 => array:5 [
"_index" => "ppmcdev_2_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_39909"
"_score" => 3.0
"sort" => array:3 [
0 => 100
1 => 23
2 => 3.0
]
]
6 => array:5 [
"_index" => "ppmcdev_2_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_40683"
"_score" => 3.0
"sort" => array:3 [
0 => 100
1 => 23
2 => 3.0
]
]
7 => array:5 [
"_index" => "ppmcdev_2_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_39962"
"_score" => 3.0
"sort" => array:3 [
0 => 100
1 => 22
2 => 3.0
]
]
8 => array:5 [
"_index" => "ppmcdev_2_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_39968"
"_score" => 3.0
"sort" => array:3 [
0 => 100
1 => 22
2 => 3.0
]
]
9 => array:5 [
"_index" => "ppmcdev_2_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_39963"
"_score" => 3.0
"sort" => array:3 [
0 => 100
1 => 15
2 => 3.0
]
]
10 => array:5 [
"_index" => "ppmcdev_2_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_40207"
"_score" => 3.0
"sort" => array:3 [
0 => 100
1 => 15
2 => 3.0
]
]
11 => array:5 [
"_index" => "ppmcdev_2_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_39958"
"_score" => 3.0
"sort" => array:3 [
0 => 100
1 => 13
2 => 3.0
]
]
12 => array:5 [
"_index" => "ppmcdev_2_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_39970"
"_score" => 3.0
"sort" => array:3 [
0 => 100
1 => 13
2 => 3.0
]
]
13 => array:5 [
"_index" => "ppmcdev_2_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_41658"
"_score" => 3.0
"sort" => array:3 [
0 => 100
1 => 13
2 => 3.0
]
]
14 => array:5 [
"_index" => "ppmcdev_2_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_39908"
"_score" => 3.0
"sort" => array:3 [
0 => 100
1 => 12
2 => 3.0
]
]
15 => array:5 [
"_index" => "ppmcdev_2_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_41769"
"_score" => 3.0
"sort" => array:3 [
0 => 100
1 => 12
2 => 3.0
]
]
16 => array:5 [
"_index" => "ppmcdev_2_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_39960"
"_score" => 3.0
"sort" => array:3 [
0 => 100
1 => 8
2 => 3.0
]
]
17 => array:5 [
"_index" => "ppmcdev_2_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_39969"
"_score" => 3.0
"sort" => array:3 [
0 => 100
1 => 7
2 => 3.0
]
]
18 => array:5 [
"_index" => "ppmcdev_2_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_39906"
"_score" => 3.0
"sort" => array:3 [
0 => 100
1 => 5
2 => 3.0
]
]
19 => array:5 [
"_index" => "ppmcdev_2_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_39967"
"_score" => 3.0
"sort" => array:3 [
0 => 100
1 => 5
2 => 3.0
]
]
]
]
]
In
TaxonController.php
line 312:
}, $results['hits']['hits']));
}
dump($taxon->getLevel());
// Récupère les liens pour la partie référencement
$referencementllinks = [];
2
In
TwigExtension.php
line 414:
public function switchLanguage() {
$actual_link = "https://$_SERVER[HTTP_HOST]$_SERVER[REQUEST_URI]";
dump($actual_link );
return '';
}
"https://ppmc-staging.webapic.com/tissus-et-petite-mercerie/tissus/nos-tissus-jersey"