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" => 11
]
]
]
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:6 [
0 => array:2 [
"key" => "4211"
"doc_count" => 2
]
1 => array:2 [
"key" => "4248"
"doc_count" => 2
]
2 => array:2 [
"key" => "4250"
"doc_count" => 2
]
3 => array:2 [
"key" => "4252"
"doc_count" => 2
]
4 => array:2 [
"key" => "4253"
"doc_count" => 2
]
5 => array:2 [
"key" => "316"
"doc_count" => 1
]
]
]
"shape" => array:3 [
"doc_count_error_upper_bound" => 0
"sum_other_doc_count" => 0
"buckets" => array:3 [
0 => array:2 [
"key" => 2304
"doc_count" => 5
]
1 => array:2 [
"key" => 2425
"doc_count" => 5
]
2 => 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" => 11
]
]
]
17 => array:3 [
"doc_count_error_upper_bound" => 0
"sum_other_doc_count" => 0
"buckets" => []
]
"badge" => array:3 [
"doc_count_error_upper_bound" => 0
"sum_other_doc_count" => 0
"buckets" => array:1 [
0 => array:2 [
"key" => "newest"
"doc_count" => 7
]
]
]
"max_price" => array:1 [
"value" => 1495.0
]
"min_price" => array:1 [
"value" => 800.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" => "coton"
"doc_count" => 10
]
]
]
]
In
TaxonController.php
line 221:
});
}
dump($siteFilterShape);
// dump($esAggregations) ;
array:3 [
0 => App\Entity\Product\Product {#8461
#conditioning: "quantity"
#strongPoints: false
#article: null
#giftWrapMyself: false
#giftWrapByPPMC: false
#googleProductTypeId: 499971
#variantSelectionMethod: "choice"
#productTaxons: Doctrine\ORM\PersistentCollection {#8493
-snapshot: []
-owner: App\Entity\Product\Product {#8461}
-association: array:15 [ …15]
-em: Doctrine\ORM\EntityManager {#4312 …11}
-backRefFieldName: "product"
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#8497 …}
-isDirty: false
#collection: Doctrine\Common\Collections\ArrayCollection {#8519
-elements: []
}
#initialized: false
}
#channels: Doctrine\ORM\PersistentCollection {#8516
-snapshot: []
-owner: App\Entity\Product\Product {#8461}
-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 {#8525
-elements: []
}
#initialized: false
}
#mainTaxon: App\Entity\Taxonomy\Taxon {#7495
-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 conseils couture"
-singleArticleCategoryTitleen: "Our sewing tips"
-looks: null
-ctas: []
-ctasEn: []
-referencement: """
<h2>Les avantages des kits prêts à coudre PPMC</h2>\r\n
\r\n
<ul>\r\n
\t<li>Des morceaux de tissu prédécoupés, pas de perte de temps, on passe directement à la machine !</li>\r\n
\t<li>Un tuto photo simple et détaillé pour aider les débutants à chaque étape</li>\r\n
\t<li>Un kit « prêt à coudre » pour se mettre à la machine directement</li>\r\n
\t<li>Pas besoin de patron, pas besoin de découper le tissu, aucun risque d’erreur</li>\r\n
\t<li>Un kit couture adapté aux débutants</li>\r\n
</ul>
"""
-referencementen: """
<h2>The advantages of PPMC ready to sew kits</h2>\r\n
\r\n
<ul>\r\n
\t<li>Pre-cut pieces of fabric, no waste of time, we go directly to the machine!</li>\r\n
\t<li>A simple and detailed photo tutorial to help beginners at each step</li>\r\n
\t<li>A "ready to sew" kit to start sewing directly on the machine</li>\r\n
\t<li>No need for a pattern, no need to cut the fabric, no risk of error</li>\r\n
\t<li>A sewing kit adapted to beginners</li>\r\n
</ul>
"""
-seoLinks: array:2 [
0 => 223
1 => 224
]
#filters: null
#automatic: false
#images: Doctrine\ORM\PersistentCollection {#7498
-snapshot: []
-owner: App\Entity\Taxonomy\Taxon {#7495}
-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 {#7499
-elements: []
}
#initialized: false
}
#id: 235
#code: "kit-couture"
#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 {#8211
#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 {#7500
-snapshot: []
-owner: App\Entity\Taxonomy\Taxon {#7495}
-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 {#7501
-elements: []
}
#initialized: false
}
#left: 24
#right: 25
#level: 1
#position: 2
#translations: Doctrine\ORM\PersistentCollection {#7496
-snapshot: array:1 [ …1]
-owner: App\Entity\Taxonomy\Taxon {#7495}
-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 {#7497
-elements: array:1 [
"fr_FR" => App\Entity\Taxonomy\TaxonTranslation {#8223
#seoTitle: "Kits Couture"
#seoMetaDescription: "Découvrez nos Kits Couture pour des projets couture simples et facile. Une belle idée de cadeau. Livraison gratuite en boutique et à domicile dès 50€ d'achat"
#rectangleOrangeText: null
#rectangleOrangeTextButton: null
#rectangleOrangeTextUrl: null
-linkImageLastLevel1: null
-linkImageLastLevel2: null
#id: 367
#name: "Kits couture"
#slug: "tissus-et-petite-mercerie/kits-couture"
#description: """
<h2>Découvrez nos kits Couture débutants pour adulte et enfants.</h2>\r\n
Vous êtes débutants ? Envie d'un kit prêts à coudre ? Essayez la couture facile avec Papa Pique et Maman Coud.<br />\r\n
Confectionnez des accessoires cheveux ou accessoires de toilettes !
"""
#locale: "fr_FR"
#translatable: App\Entity\Taxonomy\Taxon {#7495}
}
]
}
#initialized: true
}
#translationsCache: array:1 [
"fr_FR" => App\Entity\Taxonomy\TaxonTranslation {#8223}
]
#currentLocale: "fr_FR"
#currentTranslation: null
#fallbackLocale: "fr_FR"
#enabled: true
#createdAt: DateTime @1659013897 {#7493
date: 2022-07-28 15:11:37.0 Europe/Berlin (+02:00)
}
#updatedAt: DateTime @1675436643 {#7494
date: 2023-02-03 16:04:03.0 Europe/Berlin (+01:00)
}
}
#reviews: Doctrine\ORM\PersistentCollection {#8657
-snapshot: []
-owner: App\Entity\Product\Product {#8461}
-association: array:15 [ …15]
-em: Doctrine\ORM\EntityManager {#4312 …11}
-backRefFieldName: "reviewSubject"
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#8567 …}
-isDirty: false
#collection: Doctrine\Common\Collections\ArrayCollection {#8655
-elements: []
}
#initialized: false
}
#averageRating: 0.0
#images: Doctrine\ORM\PersistentCollection {#8532
-snapshot: []
-owner: App\Entity\Product\Product {#8461}
-association: array:15 [ …15]
-em: Doctrine\ORM\EntityManager {#4312 …11}
-backRefFieldName: "owner"
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#8518 …}
-isDirty: false
#collection: Doctrine\Common\Collections\ArrayCollection {#8530
-elements: []
}
#initialized: false
}
#id: 2304
#code: "KIT.CAR.DEM"
#attributes: Doctrine\ORM\PersistentCollection {#8536
-snapshot: []
-owner: App\Entity\Product\Product {#8461}
-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 {#8534
-elements: []
}
#initialized: false
}
#variants: Doctrine\ORM\PersistentCollection {#8535
-snapshot: []
-owner: App\Entity\Product\Product {#8461}
-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 {#8537
-elements: []
}
#initialized: false
}
#options: Doctrine\ORM\PersistentCollection {#8529
-snapshot: []
-owner: App\Entity\Product\Product {#8461}
-association: array:21 [ …21]
-em: Doctrine\ORM\EntityManager {#4312 …11}
-backRefFieldName: null
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#8319 …}
-isDirty: false
#collection: Doctrine\Common\Collections\ArrayCollection {#8543
-elements: []
}
#initialized: false
}
#associations: Doctrine\ORM\PersistentCollection {#8544
-snapshot: []
-owner: App\Entity\Product\Product {#8461}
-association: array:15 [ …15]
-em: Doctrine\ORM\EntityManager {#4312 …11}
-backRefFieldName: "owner"
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#8538 …}
-isDirty: false
#collection: Doctrine\Common\Collections\ArrayCollection {#8550
-elements: []
}
#initialized: false
}
#createdAt: DateTime @1589986784 {#8465
date: 2020-05-20 16:59:44.0 Europe/Berlin (+02:00)
}
#updatedAt: DateTime @1676299490 {#8464
date: 2023-02-13 15:44:50.0 Europe/Berlin (+01:00)
}
#enabled: true
#translations: Doctrine\ORM\PersistentCollection {#8507
-snapshot: []
-owner: App\Entity\Product\Product {#8461}
-association: array:16 [ …16]
-em: Doctrine\ORM\EntityManager {#4312 …11}
-backRefFieldName: "translatable"
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#8487 …}
-isDirty: false
#collection: Doctrine\Common\Collections\ArrayCollection {#8506
-elements: []
}
#initialized: false
}
#translationsCache: array:1 [
"fr_FR" => App\Entity\Product\ProductTranslation {#8707
#advantages: """
Les avantages des kits prêts à coudre PPMC :\r\n
<ul>\r\n
\t<li>Des morceaux de tissu prédécoupés</li>\r\n
\t<li>Un tuto photo simple et détaillé</li>\r\n
\t<li>Un kit « prêt à coudre » pour se mettre à la machine directement</li>\r\n
\t<li>Pas besoin de patron, pas besoin de découper le tissu, aucun risque d’erreur</li>\r\n
\t<li>Un kit couture adapté aux débutants</li>\r\n
</ul>
"""
#maintenance: """
Comment entretenir vos carrés démaquillants ?<br />\r\n
Nos carrés démaquillants sont lavables en machine jusqu'à 50°C. Pour le séchage, nous vous conseillons le sèche-linge ; vos carrés éponge resteront ainsi doux plus longtemps !
"""
#smallAddText: null
#shortDescription: null
#id: 73542
#name: "Kit prêt à coudre - Carrés Démaquillants"
#slug: null
#description: """
Grâce à ce kit couture, vous réaliserez simplement et rapidement vos propres carrés démaquillants en coton dans 3 imprimés PPMC. Nous vous proposons dans ce kit prêt à coudre des morceaux de tissus (coton et éponge) déjà découpés à la bonne taille ; ainsi que le tuto photo détaillant chaque étape.<br />\r\n
C'est un kit pour débutant, il est très facile d'utilisation et d’appréhension.<br />\r\n
<br />\r\n
<em><strong>Vous trouverez dans ce kit :</strong></em>\r\n
<ul>\r\n
\t<li>3 morceaux de tissu prédécoupés de 13 x 13 cm</li>\r\n
\t<li>Tissu 100 % coton des collections</li>\r\n
\t<li> 3 morceaux d'éponge de bambou prédécoupés13 x 13 cm (90% viscose de bambou, 10% polyester 350g/m²)</li>\r\n
\t<li>1 tutoriel couture kit carré démaquillant</li>\r\n
\t<li>Non fourni : Fil et aiguilles</li>\r\n
</ul>\r\n
Il vous suffira pour réaliser ces carrés démaquillants du fil et d'une aiguille, ou d'une machine à coudre si vous en avez une.
"""
#metaKeywords: null
#metaDescription: null
#locale: "fr_FR"
#translatable: App\Entity\Product\Product {#8461}
}
]
#currentLocale: "fr_FR"
#currentTranslation: null
#fallbackLocale: "fr_FR"
}
1 => App\Entity\Product\Product {#8658
#conditioning: "quantity"
#strongPoints: []
#article: null
#giftWrapMyself: false
#giftWrapByPPMC: false
#googleProductTypeId: 499971
#variantSelectionMethod: "choice"
#productTaxons: Doctrine\ORM\PersistentCollection {#8661
-snapshot: []
-owner: App\Entity\Product\Product {#8658}
-association: array:15 [ …15]
-em: Doctrine\ORM\EntityManager {#4312 …11}
-backRefFieldName: "product"
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#8497 …}
-isDirty: false
#collection: Doctrine\Common\Collections\ArrayCollection {#8662
-elements: []
}
#initialized: false
}
#channels: Doctrine\ORM\PersistentCollection {#8665
-snapshot: []
-owner: App\Entity\Product\Product {#8658}
-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 {#8666
-elements: []
}
#initialized: false
}
#mainTaxon: App\Entity\Taxonomy\Taxon {#7495}
#reviews: Doctrine\ORM\PersistentCollection {#8675
-snapshot: []
-owner: App\Entity\Product\Product {#8658}
-association: array:15 [ …15]
-em: Doctrine\ORM\EntityManager {#4312 …11}
-backRefFieldName: "reviewSubject"
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#8567 …}
-isDirty: false
#collection: Doctrine\Common\Collections\ArrayCollection {#8676
-elements: []
}
#initialized: false
}
#averageRating: 0.0
#images: Doctrine\ORM\PersistentCollection {#8663
-snapshot: []
-owner: App\Entity\Product\Product {#8658}
-association: array:15 [ …15]
-em: Doctrine\ORM\EntityManager {#4312 …11}
-backRefFieldName: "owner"
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#8518 …}
-isDirty: false
#collection: Doctrine\Common\Collections\ArrayCollection {#8664
-elements: []
}
#initialized: false
}
#id: 2425
#code: "KIT.CHO.MOY"
#attributes: Doctrine\ORM\PersistentCollection {#8667
-snapshot: []
-owner: App\Entity\Product\Product {#8658}
-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 {#8668
-elements: []
}
#initialized: false
}
#variants: Doctrine\ORM\PersistentCollection {#8669
-snapshot: []
-owner: App\Entity\Product\Product {#8658}
-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 {#8670
-elements: []
}
#initialized: false
}
#options: Doctrine\ORM\PersistentCollection {#8673
-snapshot: []
-owner: App\Entity\Product\Product {#8658}
-association: array:21 [ …21]
-em: Doctrine\ORM\EntityManager {#4312 …11}
-backRefFieldName: null
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#8319 …}
-isDirty: false
#collection: Doctrine\Common\Collections\ArrayCollection {#8674
-elements: []
}
#initialized: false
}
#associations: Doctrine\ORM\PersistentCollection {#8671
-snapshot: []
-owner: App\Entity\Product\Product {#8658}
-association: array:15 [ …15]
-em: Doctrine\ORM\EntityManager {#4312 …11}
-backRefFieldName: "owner"
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#8538 …}
-isDirty: false
#collection: Doctrine\Common\Collections\ArrayCollection {#8672
-elements: []
}
#initialized: false
}
#createdAt: DateTime @1657724915 {#8654
date: 2022-07-13 17:08:35.0 Europe/Berlin (+02:00)
}
#updatedAt: DateTime @1675260720 {#8656
date: 2023-02-01 15:12:00.0 Europe/Berlin (+01:00)
}
#enabled: true
#translations: Doctrine\ORM\PersistentCollection {#8659
-snapshot: []
-owner: App\Entity\Product\Product {#8658}
-association: array:16 [ …16]
-em: Doctrine\ORM\EntityManager {#4312 …11}
-backRefFieldName: "translatable"
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#8487 …}
-isDirty: false
#collection: Doctrine\Common\Collections\ArrayCollection {#8660
-elements: []
}
#initialized: false
}
#translationsCache: array:1 [
"fr_FR" => App\Entity\Product\ProductTranslation {#8710
#advantages: """
Les avantages des kits prêts à coudre PPMC :\r\n
<ul>\r\n
\t<li>Des morceaux de tissu prédécoupés, <strong>pas de perte de temps, on passe directement à la machine</strong> !</li>\r\n
\t<li>Un tuto photo simple et détaillé pour aider les débutants à chaque étape</li>\r\n
\t<li>Un <strong>kit « prêt à coudre »</strong> pour se mettre à la machine directement</li>\r\n
\t<li>Pas besoin de patron, pas besoin de découper le tissu, aucun risque d’erreur</li>\r\n
\t<li>Un kit couture <strong>adapté aux débutants</strong></li>\r\n
</ul>
"""
#maintenance: """
Nous vous conseillons de<strong> laver vos carrés démaquillants après chaque utilisation</strong>, en machine à 40° ou 50°C. <br />\r\n
Afin de maximiser leur durée de vie, il est préférable d’utiliser un filet de lavage. Vous éviterez ainsi que les carrés démaquillants s’accrochent au reste du linge. <br />\r\n
Pour conserver une douceur maximale, passer vos carrés démaquillants au sèche-linge. <br />\r\n
<em>Quelle est la durée de vie d’un carré démaquillant ? </em><br />\r\n
Chaque coton a une <strong>durée de vie d'environ 300 lavages</strong>. Un ensemble de 7 carrés démaquillants PPMC vous permettra donc de tenir presque un an. <br />\r\n
Pour toutes questions relatives à votre carré démaquillant, nous vous invitons à <strong>prendre contact avec notre service clien</strong>t ou un de nos magasins PPMC.
"""
#smallAddText: null
#shortDescription: null
#id: 73786
#name: "Kit prêt à coudre Chouchou"
#slug: null
#description: """
Grâce à ce kit couture, vous réaliserez simplement et rapidement 3 grands chouchous à partir de 3 tissus de nos collections. Nous vous proposons dans ce kit prêt à coudre des morceaux de tissus et un élastique déjà découpés à la bonne taille ; ainsi qu’un tutoriel photos détaillant chaque étape.<br />\r\n
C'est un kit adapté aux personnes qui débutent en couture ; il est très facile d'utilisation et d'appréhension. Idéal également pour faire découvrir la couture aux enfants.<br />\r\n
<br />\r\n
<strong><em>Vous trouverez dans ce kit couture chouchou cheveux :</em></strong>\r\n
<ul>\r\n
\t<li>3 coupons de tissu prédécoupé 100% coton</li>\r\n
\t<li>Tissu des collections</li>\r\n
\t<li>1 élastique pour 3 chouchous</li>\r\n
\t<li>1 tutoriel couture étape par étape</li>\r\n
\t<li>Non inclus : le fil et les aiguilles</li>\r\n
</ul>
"""
#metaKeywords: null
#metaDescription: "Coudre facilement avec les nouveaux kits prêts à coudre Papa Pique et Maman Coud. Des kits couture fabriqués en France avec les collections colorées PPMC. Disponible en boutique tissu et sur le site web."
#locale: "fr_FR"
#translatable: App\Entity\Product\Product {#8658}
}
]
#currentLocale: "fr_FR"
#currentTranslation: null
#fallbackLocale: "fr_FR"
}
2 => App\Entity\Product\Product {#8679
#conditioning: "quantity"
#strongPoints: []
#article: null
#giftWrapMyself: false
#giftWrapByPPMC: false
#googleProductTypeId: 543543
#variantSelectionMethod: "choice"
#productTaxons: Doctrine\ORM\PersistentCollection {#8682
-snapshot: []
-owner: App\Entity\Product\Product {#8679}
-association: array:15 [ …15]
-em: Doctrine\ORM\EntityManager {#4312 …11}
-backRefFieldName: "product"
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#8497 …}
-isDirty: false
#collection: Doctrine\Common\Collections\ArrayCollection {#8683
-elements: []
}
#initialized: false
}
#channels: Doctrine\ORM\PersistentCollection {#8686
-snapshot: []
-owner: App\Entity\Product\Product {#8679}
-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 {#8687
-elements: []
}
#initialized: false
}
#mainTaxon: App\Entity\Taxonomy\Taxon {#7393
-categoryType: "category_type_fabric"
-singleArticle: null
-singleArticleCategory: Proxies\__CG__\App\Entity\SiteArticleCategory {#7394 …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}
#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: []
#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 {#8696
-snapshot: []
-owner: App\Entity\Product\Product {#8679}
-association: array:15 [ …15]
-em: Doctrine\ORM\EntityManager {#4312 …11}
-backRefFieldName: "reviewSubject"
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#8567 …}
-isDirty: false
#collection: Doctrine\Common\Collections\ArrayCollection {#8697
-elements: []
}
#initialized: false
}
#averageRating: 0.0
#images: Doctrine\ORM\PersistentCollection {#8684
-snapshot: []
-owner: App\Entity\Product\Product {#8679}
-association: array:15 [ …15]
-em: Doctrine\ORM\EntityManager {#4312 …11}
-backRefFieldName: "owner"
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#8518 …}
-isDirty: false
#collection: Doctrine\Common\Collections\ArrayCollection {#8685
-elements: []
}
#initialized: false
}
#id: 2428
#code: "LIV.ZER.DE"
#attributes: Doctrine\ORM\PersistentCollection {#8688
-snapshot: []
-owner: App\Entity\Product\Product {#8679}
-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 {#8689
-elements: []
}
#initialized: false
}
#variants: Doctrine\ORM\PersistentCollection {#8690
-snapshot: []
-owner: App\Entity\Product\Product {#8679}
-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 {#8691
-elements: []
}
#initialized: false
}
#options: Doctrine\ORM\PersistentCollection {#8694
-snapshot: []
-owner: App\Entity\Product\Product {#8679}
-association: array:21 [ …21]
-em: Doctrine\ORM\EntityManager {#4312 …11}
-backRefFieldName: null
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#8319 …}
-isDirty: false
#collection: Doctrine\Common\Collections\ArrayCollection {#8695
-elements: []
}
#initialized: false
}
#associations: Doctrine\ORM\PersistentCollection {#8692
-snapshot: []
-owner: App\Entity\Product\Product {#8679}
-association: array:15 [ …15]
-em: Doctrine\ORM\EntityManager {#4312 …11}
-backRefFieldName: "owner"
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#8538 …}
-isDirty: false
#collection: Doctrine\Common\Collections\ArrayCollection {#8693
-elements: []
}
#initialized: false
}
#createdAt: DateTime @1662035420 {#8677
date: 2022-09-01 14:30:20.0 Europe/Berlin (+02:00)
}
#updatedAt: DateTime @1676297550 {#8678
date: 2023-02-13 15:12:30.0 Europe/Berlin (+01:00)
}
#enabled: true
#translations: Doctrine\ORM\PersistentCollection {#8680
-snapshot: []
-owner: App\Entity\Product\Product {#8679}
-association: array:16 [ …16]
-em: Doctrine\ORM\EntityManager {#4312 …11}
-backRefFieldName: "translatable"
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#8487 …}
-isDirty: false
#collection: Doctrine\Common\Collections\ArrayCollection {#8681
-elements: []
}
#initialized: false
}
#translationsCache: array:1 [
"fr_FR" => App\Entity\Product\ProductTranslation {#8712
#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 {#8679}
}
]
#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:2 [
"color" => array:6 [
0 => "316"
1 => "4211"
2 => "4248"
3 => "4250"
4 => "4252"
5 => "4253"
]
"shape" => array:3 [
0 => 2304
1 => 2425
2 => 2428
]
]
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" => 11
"relation" => "eq"
]
"max_score" => null
"hits" => array:11 [
0 => array:5 [
"_index" => "ppmcdev_1_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_1_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_41722"
"_score" => 3.0
"sort" => array:3 [
0 => 1
1 => 47
2 => 3.0
]
]
2 => array:5 [
"_index" => "ppmcdev_1_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_41718"
"_score" => 3.0
"sort" => array:3 [
0 => 1
1 => 29
2 => 3.0
]
]
3 => array:5 [
"_index" => "ppmcdev_1_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_41720"
"_score" => 3.0
"sort" => array:3 [
0 => 1
1 => 21
2 => 3.0
]
]
4 => array:5 [
"_index" => "ppmcdev_1_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_41719"
"_score" => 3.0
"sort" => array:3 [
0 => 1
1 => 17
2 => 3.0
]
]
5 => array:5 [
"_index" => "ppmcdev_1_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_41717"
"_score" => 3.0
"sort" => array:3 [
0 => 1
1 => 5
2 => 3.0
]
]
6 => array:5 [
"_index" => "ppmcdev_1_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_41721"
"_score" => 3.0
"sort" => array:3 [
0 => 1
1 => 5
2 => 3.0
]
]
7 => array:5 [
"_index" => "ppmcdev_1_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_41724"
"_score" => 3.0
"sort" => array:3 [
0 => 100
1 => 44
2 => 3.0
]
]
8 => array:5 [
"_index" => "ppmcdev_1_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_41726"
"_score" => 3.0
"sort" => array:3 [
0 => 100
1 => 43
2 => 3.0
]
]
9 => array:5 [
"_index" => "ppmcdev_1_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_41723"
"_score" => 3.0
"sort" => array:3 [
0 => 100
1 => 5
2 => 3.0
]
]
10 => array:5 [
"_index" => "ppmcdev_1_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_41725"
"_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 = [];
1
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/kits-couture"