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" => 45
]
]
]
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:45 [
0 => array:2 [
"key" => "1180"
"doc_count" => 1
]
1 => array:2 [
"key" => "1188"
"doc_count" => 1
]
2 => array:2 [
"key" => "1660"
"doc_count" => 1
]
3 => array:2 [
"key" => "1673"
"doc_count" => 1
]
4 => array:2 [
"key" => "1794"
"doc_count" => 1
]
5 => array:2 [
"key" => "1795"
"doc_count" => 1
]
6 => array:2 [
"key" => "316"
"doc_count" => 1
]
7 => array:2 [
"key" => "3265"
"doc_count" => 1
]
8 => array:2 [
"key" => "3268"
"doc_count" => 1
]
9 => array:2 [
"key" => "3316"
"doc_count" => 1
]
10 => array:2 [
"key" => "3501"
"doc_count" => 1
]
11 => array:2 [
"key" => "3581"
"doc_count" => 1
]
12 => array:2 [
"key" => "3583"
"doc_count" => 1
]
13 => array:2 [
"key" => "3668"
"doc_count" => 1
]
14 => array:2 [
"key" => "3670"
"doc_count" => 1
]
15 => array:2 [
"key" => "3672"
"doc_count" => 1
]
16 => array:2 [
"key" => "3678"
"doc_count" => 1
]
17 => array:2 [
"key" => "3682"
"doc_count" => 1
]
18 => array:2 [
"key" => "3684"
"doc_count" => 1
]
19 => array:2 [
"key" => "3694"
"doc_count" => 1
]
20 => array:2 [
"key" => "3696"
"doc_count" => 1
]
21 => array:2 [
"key" => "3835"
"doc_count" => 1
]
22 => array:2 [
"key" => "3841"
"doc_count" => 1
]
23 => array:2 [
"key" => "3926"
"doc_count" => 1
]
24 => array:2 [
"key" => "3935"
"doc_count" => 1
]
25 => array:2 [
"key" => "3954"
"doc_count" => 1
]
26 => array:2 [
"key" => "3956"
"doc_count" => 1
]
27 => array:2 [
"key" => "3970"
"doc_count" => 1
]
28 => array:2 [
"key" => "3997"
"doc_count" => 1
]
29 => array:2 [
"key" => "3999"
"doc_count" => 1
]
30 => array:2 [
"key" => "4042"
"doc_count" => 1
]
31 => array:2 [
"key" => "4043"
"doc_count" => 1
]
32 => array:2 [
"key" => "4055"
"doc_count" => 1
]
33 => array:2 [
"key" => "4056"
"doc_count" => 1
]
34 => array:2 [
"key" => "4086"
"doc_count" => 1
]
35 => array:2 [
"key" => "4088"
"doc_count" => 1
]
36 => array:2 [
"key" => "4089"
"doc_count" => 1
]
37 => array:2 [
"key" => "4090"
"doc_count" => 1
]
38 => array:2 [
"key" => "4126"
"doc_count" => 1
]
39 => array:2 [
"key" => "4140"
"doc_count" => 1
]
40 => array:2 [
"key" => "4141"
"doc_count" => 1
]
41 => array:2 [
"key" => "4191"
"doc_count" => 1
]
42 => array:2 [
"key" => "4193"
"doc_count" => 1
]
43 => array:2 [
"key" => "4245"
"doc_count" => 1
]
44 => array:2 [
"key" => "4253"
"doc_count" => 1
]
]
]
"shape" => array:3 [
"doc_count_error_upper_bound" => 0
"sum_other_doc_count" => 0
"buckets" => array:2 [
0 => array:2 [
"key" => 2410
"doc_count" => 44
]
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" => 45
]
]
]
17 => array:3 [
"doc_count_error_upper_bound" => 0
"sum_other_doc_count" => 0
"buckets" => array:2 [
0 => array:2 [
"key" => "oui"
"doc_count" => 34
]
1 => array:2 [
"key" => "non"
"doc_count" => 7
]
]
]
"badge" => array:3 [
"doc_count_error_upper_bound" => 0
"sum_other_doc_count" => 0
"buckets" => array:3 [
0 => array:2 [
"key" => "low_price"
"doc_count" => 25
]
1 => array:2 [
"key" => "solde"
"doc_count" => 7
]
2 => array:2 [
"key" => "newest"
"doc_count" => 2
]
]
]
"max_price" => array:1 [
"value" => 1960.0
]
"min_price" => array:1 [
"value" => 450.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" => "voile"
"doc_count" => 42
]
]
]
]
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: null
#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 {#7440
-categoryType: "category_type_fabric"
-singleArticle: null
-singleArticleCategory: null
-singleArticleCategoryTitle: null
-singleArticleCategoryTitleen: null
-looks: null
-ctas: null
-ctasEn: null
-referencement: null
-referencementen: null
-seoLinks: array:5 [
0 => 225
1 => 226
2 => 228
3 => 230
4 => 231
]
#filters: null
#automatic: false
#images: Doctrine\ORM\PersistentCollection {#7443
-snapshot: []
-owner: App\Entity\Taxonomy\Taxon {#7440}
-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 {#7444
-elements: []
}
#initialized: false
}
#id: 229
#code: "nos-tissus-voile-de-coton"
#root: App\Entity\Taxonomy\Taxon {#7384}
#parent: App\Entity\Taxonomy\Taxon {#7393}
#children: Doctrine\ORM\PersistentCollection {#7445
-snapshot: []
-owner: App\Entity\Taxonomy\Taxon {#7440}
-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 {#7446
-elements: []
}
#initialized: false
}
#left: 9
#right: 10
#level: 2
#position: 3
#translations: Doctrine\ORM\PersistentCollection {#7441
-snapshot: array:1 [ …1]
-owner: App\Entity\Taxonomy\Taxon {#7440}
-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 {#7442
-elements: array:1 [
"fr_FR" => App\Entity\Taxonomy\TaxonTranslation {#8223
#seoTitle: "Tissu voile de coton PPMC"
#seoMetaDescription: "Ce tissu voile de coton très léger, aérien et légèrement transparent au motif PPMC est idéal pour la confection de vêtements légers comme des blouses, des robes, tops ou shorts."
#rectangleOrangeText: null
#rectangleOrangeTextButton: null
#rectangleOrangeTextUrl: null
-linkImageLastLevel1: null
-linkImageLastLevel2: null
#id: 361
#name: "Nos tissus voile de coton"
#slug: "tissus-et-petite-mercerie/tissus/nos-tissus-voile-de-coton"
#description: """
<h2>Tissu voile de coton au mètre.</h2>\r\n
Découvrez notre tissu en voile de coton PPMC ! Ce tissu très léger, aérien et légèrement transparent au motif PPMC est idéal pour la confection de vêtements légers comme des blouses, des robes, tops ou shorts.Les possibilités sont multiples avec ce tissu voile de coton PPMC : révélez le potentiel créatif qui est en vous et réalisez des ouvrages uniques et qui vous ressemblent.\r\n
\r\n
<h3>Découvrez le tissu voile de coton au mètre Papa Pique et Maman Coud.</h3>
"""
#locale: "fr_FR"
#translatable: App\Entity\Taxonomy\Taxon {#7440}
}
]
}
#initialized: true
}
#translationsCache: array:1 [
"fr_FR" => App\Entity\Taxonomy\TaxonTranslation {#8223}
]
#currentLocale: "fr_FR"
#currentTranslation: null
#fallbackLocale: "fr_FR"
#enabled: true
#createdAt: DateTime @1659013689 {#7438
date: 2022-07-28 15:08:09.0 Europe/Berlin (+02:00)
}
#updatedAt: DateTime @1663070226 {#7439
date: 2022-09-13 13:57:06.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: 2410
#code: "TISS.VOI"
#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 @1650459839 {#8595
date: 2022-04-20 15:03:59.0 Europe/Berlin (+02:00)
}
#updatedAt: DateTime @1676299242 {#8597
date: 2023-02-13 15:40:42.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: 72908
#name: "Tissu voile"
#slug: "72908"
#description: """
VOILE de coton BIO<br />\r\n
100 % coton biologique<br />\r\n
Laize : 150 cm<br />\r\n
Poids : 68 g/m²<br />\r\n
Tissu imprimé pailleté certifié oeko-Tex<br />\r\n
<br />\r\n
Exclusivité Papa Pique et Maman Coud !<br />\r\n
<br />\r\n
Tissu léger, parfait pour des vêtements vaporeux et fluides type blouse, top, chemise, robe, jupe ou foulards. Peut parfois nécessiter une doublure<br />\r\n
<br />\r\n
Repasser 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:45 [
0 => "316"
1 => "1180"
2 => "1188"
3 => "1660"
4 => "1673"
5 => "1794"
6 => "1795"
7 => "3265"
8 => "3268"
9 => "3316"
10 => "3501"
11 => "3581"
12 => "3583"
13 => "3668"
14 => "3670"
15 => "3672"
16 => "3678"
17 => "3682"
18 => "3684"
19 => "3694"
20 => "3696"
21 => "3835"
22 => "3841"
23 => "3926"
24 => "3935"
25 => "3954"
26 => "3956"
27 => "3970"
28 => "3997"
29 => "3999"
30 => "4042"
31 => "4043"
32 => "4055"
33 => "4056"
34 => "4086"
35 => "4088"
36 => "4089"
37 => "4090"
38 => "4126"
39 => "4140"
40 => "4141"
41 => "4191"
42 => "4193"
43 => "4245"
44 => "4253"
]
"shape" => array:2 [
0 => 2410
1 => 2428
]
17 => array:2 [
0 => "non"
1 => "oui"
]
"badge" => array:3 [
0 => "low_price"
1 => "newest"
2 => "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" => 45
"relation" => "eq"
]
"max_score" => null
"hits" => array:40 [
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_41488"
"_score" => 3.0
"sort" => array:3 [
0 => 1
1 => 27
2 => 3.0
]
]
2 => array:5 [
"_index" => "ppmcdev_2_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_40890"
"_score" => 3.0
"sort" => array:3 [
0 => 2
1 => 85
2 => 3.0
]
]
3 => array:5 [
"_index" => "ppmcdev_2_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_40895"
"_score" => 3.0
"sort" => array:3 [
0 => 2
1 => 67
2 => 3.0
]
]
4 => array:5 [
"_index" => "ppmcdev_2_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_40020"
"_score" => 3.0
"sort" => array:3 [
0 => 2
1 => 66
2 => 3.0
]
]
5 => array:5 [
"_index" => "ppmcdev_2_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_40028"
"_score" => 3.0
"sort" => array:3 [
0 => 2
1 => 66
2 => 3.0
]
]
6 => array:5 [
"_index" => "ppmcdev_2_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_40046"
"_score" => 3.0
"sort" => array:3 [
0 => 2
1 => 57
2 => 3.0
]
]
7 => array:5 [
"_index" => "ppmcdev_2_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_40039"
"_score" => 3.0
"sort" => array:3 [
0 => 2
1 => 56
2 => 3.0
]
]
8 => array:5 [
"_index" => "ppmcdev_2_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_40053"
"_score" => 3.0
"sort" => array:3 [
0 => 2
1 => 51
2 => 3.0
]
]
9 => array:5 [
"_index" => "ppmcdev_2_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_40058"
"_score" => 3.0
"sort" => array:3 [
0 => 2
1 => 51
2 => 3.0
]
]
10 => array:5 [
"_index" => "ppmcdev_2_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_40052"
"_score" => 3.0
"sort" => array:3 [
0 => 2
1 => 50
2 => 3.0
]
]
11 => array:5 [
"_index" => "ppmcdev_2_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_40014"
"_score" => 3.0
"sort" => array:3 [
0 => 2
1 => 43
2 => 3.0
]
]
12 => array:5 [
"_index" => "ppmcdev_2_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_40061"
"_score" => 3.0
"sort" => array:3 [
0 => 2
1 => 39
2 => 3.0
]
]
13 => array:5 [
"_index" => "ppmcdev_2_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_40036"
"_score" => 3.0
"sort" => array:3 [
0 => 2
1 => 38
2 => 3.0
]
]
14 => array:5 [
"_index" => "ppmcdev_2_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_40042"
"_score" => 3.0
"sort" => array:3 [
0 => 2
1 => 36
2 => 3.0
]
]
15 => array:5 [
"_index" => "ppmcdev_2_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_40050"
"_score" => 3.0
"sort" => array:3 [
0 => 2
1 => 33
2 => 3.0
]
]
16 => array:5 [
"_index" => "ppmcdev_2_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_40896"
"_score" => 3.0
"sort" => array:3 [
0 => 2
1 => 33
2 => 3.0
]
]
17 => array:5 [
"_index" => "ppmcdev_2_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_40894"
"_score" => 3.0
"sort" => array:3 [
0 => 2
1 => 25
2 => 3.0
]
]
18 => array:5 [
"_index" => "ppmcdev_2_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_40051"
"_score" => 3.0
"sort" => array:3 [
0 => 2
1 => 23
2 => 3.0
]
]
19 => array:5 [
"_index" => "ppmcdev_2_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_40062"
"_score" => 3.0
"sort" => array:3 [
0 => 2
1 => 21
2 => 3.0
]
]
20 => array:5 [
"_index" => "ppmcdev_2_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_40057"
"_score" => 3.0
"sort" => array:3 [
0 => 2
1 => 20
2 => 3.0
]
]
21 => array:5 [
"_index" => "ppmcdev_2_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_40017"
"_score" => 3.0
"sort" => array:3 [
0 => 2
1 => 19
2 => 3.0
]
]
22 => array:5 [
"_index" => "ppmcdev_2_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_40034"
"_score" => 3.0
"sort" => array:3 [
0 => 2
1 => 17
2 => 3.0
]
]
23 => array:5 [
"_index" => "ppmcdev_2_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_40024"
"_score" => 3.0
"sort" => array:3 [
0 => 2
1 => 16
2 => 3.0
]
]
24 => array:5 [
"_index" => "ppmcdev_2_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_40047"
"_score" => 3.0
"sort" => array:3 [
0 => 2
1 => 16
2 => 3.0
]
]
25 => array:5 [
"_index" => "ppmcdev_2_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_40016"
"_score" => 3.0
"sort" => array:3 [
0 => 2
1 => 6
2 => 3.0
]
]
26 => array:5 [
"_index" => "ppmcdev_2_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_40025"
"_score" => 3.0
"sort" => array:3 [
0 => 2
1 => 5
2 => 3.0
]
]
27 => array:5 [
"_index" => "ppmcdev_2_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_40033"
"_score" => 3.0
"sort" => array:3 [
0 => 4
1 => 59
2 => 3.0
]
]
28 => array:5 [
"_index" => "ppmcdev_2_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_40018"
"_score" => 3.0
"sort" => array:3 [
0 => 4
1 => 55
2 => 3.0
]
]
29 => array:5 [
"_index" => "ppmcdev_2_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_40043"
"_score" => 3.0
"sort" => array:3 [
0 => 4
1 => 50
2 => 3.0
]
]
30 => array:5 [
"_index" => "ppmcdev_2_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_40044"
"_score" => 3.0
"sort" => array:3 [
0 => 4
1 => 44
2 => 3.0
]
]
31 => array:5 [
"_index" => "ppmcdev_2_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_40032"
"_score" => 3.0
"sort" => array:3 [
0 => 4
1 => 42
2 => 3.0
]
]
32 => array:5 [
"_index" => "ppmcdev_2_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_40022"
"_score" => 3.0
"sort" => array:3 [
0 => 4
1 => 5
2 => 3.0
]
]
33 => array:5 [
"_index" => "ppmcdev_2_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_40037"
"_score" => 3.0
"sort" => array:3 [
0 => 4
1 => 5
2 => 3.0
]
]
34 => array:5 [
"_index" => "ppmcdev_2_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_40056"
"_score" => 3.0
"sort" => array:3 [
0 => 100
1 => 87
2 => 3.0
]
]
35 => array:5 [
"_index" => "ppmcdev_2_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_40055"
"_score" => 3.0
"sort" => array:3 [
0 => 100
1 => 68
2 => 3.0
]
]
36 => array:5 [
"_index" => "ppmcdev_2_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_40041"
"_score" => 3.0
"sort" => array:3 [
0 => 100
1 => 57
2 => 3.0
]
]
37 => array:5 [
"_index" => "ppmcdev_2_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_40040"
"_score" => 3.0
"sort" => array:3 [
0 => 100
1 => 51
2 => 3.0
]
]
38 => array:5 [
"_index" => "ppmcdev_2_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_40031"
"_score" => 3.0
"sort" => array:3 [
0 => 100
1 => 47
2 => 3.0
]
]
39 => array:5 [
"_index" => "ppmcdev_2_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_40070"
"_score" => 3.0
"sort" => array:3 [
0 => 100
1 => 47
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-voile-de-coton"