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:2 [
0 => array:2 [
"key" => "pour elle"
"doc_count" => 29
]
1 => array:2 [
"key" => "pour lui"
"doc_count" => 1
]
]
]
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:29 [
0 => array:2 [
"key" => "3835"
"doc_count" => 2
]
1 => array:2 [
"key" => "1721"
"doc_count" => 1
]
2 => array:2 [
"key" => "3678"
"doc_count" => 1
]
3 => array:2 [
"key" => "3693"
"doc_count" => 1
]
4 => array:2 [
"key" => "3696"
"doc_count" => 1
]
5 => array:2 [
"key" => "3830"
"doc_count" => 1
]
6 => array:2 [
"key" => "3882"
"doc_count" => 1
]
7 => array:2 [
"key" => "3905"
"doc_count" => 1
]
8 => array:2 [
"key" => "3954"
"doc_count" => 1
]
9 => array:2 [
"key" => "3956"
"doc_count" => 1
]
10 => array:2 [
"key" => "3970"
"doc_count" => 1
]
11 => array:2 [
"key" => "4040"
"doc_count" => 1
]
12 => array:2 [
"key" => "4117"
"doc_count" => 1
]
13 => array:2 [
"key" => "4133"
"doc_count" => 1
]
14 => array:2 [
"key" => "4140"
"doc_count" => 1
]
15 => array:2 [
"key" => "4153"
"doc_count" => 1
]
16 => array:2 [
"key" => "4191"
"doc_count" => 1
]
17 => array:2 [
"key" => "4192"
"doc_count" => 1
]
18 => array:2 [
"key" => "4203"
"doc_count" => 1
]
19 => array:2 [
"key" => "4211"
"doc_count" => 1
]
20 => array:2 [
"key" => "4212"
"doc_count" => 1
]
21 => array:2 [
"key" => "4220"
"doc_count" => 1
]
22 => array:2 [
"key" => "4245"
"doc_count" => 1
]
23 => array:2 [
"key" => "4248"
"doc_count" => 1
]
24 => array:2 [
"key" => "4250"
"doc_count" => 1
]
25 => array:2 [
"key" => "4252"
"doc_count" => 1
]
26 => array:2 [
"key" => "4253"
"doc_count" => 1
]
27 => array:2 [
"key" => "4258"
"doc_count" => 1
]
28 => array:2 [
"key" => "4262"
"doc_count" => 1
]
]
]
"shape" => array:3 [
"doc_count_error_upper_bound" => 0
"sum_other_doc_count" => 0
"buckets" => array:2 [
0 => array:2 [
"key" => 2383
"doc_count" => 23
]
1 => array:2 [
"key" => 1903
"doc_count" => 7
]
]
]
16 => array:3 [
"doc_count_error_upper_bound" => 0
"sum_other_doc_count" => 0
"buckets" => array:2 [
0 => array:2 [
"key" => "pour elle"
"doc_count" => 29
]
1 => array:2 [
"key" => "pour lui"
"doc_count" => 1
]
]
]
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:3 [
0 => array:2 [
"key" => "low_price"
"doc_count" => 7
]
1 => array:2 [
"key" => "newest"
"doc_count" => 5
]
2 => array:2 [
"key" => "solde"
"doc_count" => 1
]
]
]
"max_price" => array:1 [
"value" => 1900.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:2 [
0 => array:2 [
"key" => "coton enduit"
"doc_count" => 29
]
1 => array:2 [
"key" => "suédine"
"doc_count" => 1
]
]
]
]
In
TaxonController.php
line 221:
});
}
dump($siteFilterShape);
// dump($esAggregations) ;
array:2 [
0 => App\Entity\Product\Product {#8599
#conditioning: "quantity"
#strongPoints: array:3 [
0 => array:3 [
"youtube_link" => null
"image" => null
"image_path" => "_63a0455f0b4388.32099143.png"
]
1 => array:3 [
"youtube_link" => null
"image" => null
"image_path" => "_63a0455f0b5cf0.66197795.png"
]
2 => array:3 [
"youtube_link" => null
"image" => null
"image_path" => "_63a0455f0b6eb4.34772066.png"
]
]
#article: null
#giftWrapMyself: false
#giftWrapByPPMC: false
#googleProductTypeId: 4739
#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 {#6921
-categoryType: "category_type_product"
-singleArticle: null
-singleArticleCategory: null
-singleArticleCategoryTitle: null
-singleArticleCategoryTitleen: null
-looks: null
-ctas: null
-ctasEn: null
-referencement: """
<h2>Comment utiliser la pochette téléphone bandoulière ?</h2>\r\n
La fonction principale de la housse de téléphone est de ranger son téléphone à l’intérieur. Ce n’est pourtant pas la seule possibilité ! La pochette est accompagnée d’une petite poche assez grande pour contenir votre carte de crédit. Quoi de plus important lors de sorties que son téléphone et sa carte de crédit ? Elle peut également servir de rangement portefeuille pour femme, comme pour homme ! Elle peut également être équipée d'une bandoulière, cette housse de téléphone sera la plus pratique des pochettes pour téléphone !<br />\r\n
\r\n
<h2>Pourquoi choisir la pochette téléphone bandoulière PPMC ?</h2>\r\n
Avec le tissu enduit de la pochette téléphone bandoulière, votre smartphone ou votre carte seront bien protégés des caprices de la météo, ils ne prendront pas l’eau ! Ils ne craindront pas les chocs non plus puisque la pochette est rembourrée de mousse. Très pratique, notre housse téléphone se porte en bandoulière, ce qui dégage complètement vos mains pour faire autre chose. Sa taille lui octroie un certain avantage ; pas besoin de fouiller dans le sac que l’on trouve d’un coup bien trop profond pour trouver son téléphone, mais est tout de même assez grand pour la plupart des smartphones.
"""
-referencementen: """
<h2>How to use the phone pouch shoulder strap?</h2>\r\n
The main function of the phone pouch is to store your phone inside. However, this is not the only possibility! The pouch comes with a small pocket big enough to hold your credit card. What could be more important when going out than your phone and your credit card? It can also be used as a wallet for women, as well as for men! It can also be equipped with a shoulder strap, this phone pouch will be the most practical phone pouch! \r\n
\r\n
<h2>Why choose the PPMC shoulder phone pouch?</h2>\r\n
With the coated fabric of the shoulder phone pouch, your smartphone or your card will be well protected from the vagaries of the weather, they will not take water! They won't be afraid of shocks either since the pouch is padded with foam. Very practical, our phone cover is worn as a shoulder strap, which frees up your hands completely to do other things. Its size gives it a certain advantage; no need to rummage around in the bag that is suddenly too deep to find your phone, but is still big enough for most smartphones.
"""
-seoLinks: array:10 [
0 => 163
1 => 164
2 => 165
3 => 166
4 => 168
5 => 169
6 => 170
7 => 171
8 => 172
9 => 174
]
#filters: null
#automatic: false
#images: Doctrine\ORM\PersistentCollection {#6924
-snapshot: []
-owner: App\Entity\Taxonomy\Taxon {#6921}
-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 {#6925
-elements: []
}
#initialized: false
}
#id: 167
#code: "housse-telephone"
#root: Proxies\__CG__\App\Entity\Taxonomy\Taxon {#4967
+__isInitialized__: true
-categoryType: "category_type_product"
-singleArticle: null
-singleArticleCategory: null
-singleArticleCategoryTitle: null
-singleArticleCategoryTitleen: null
-looks: null
-ctas: array:1 [
1 => array:3 [
"link" => "https://ppmc-presqueprod.webapic.com/sac-personnalise-sac-zip"
"image" => null
"image_path" => "_63d250ffdbe8b7.44694446.png"
]
]
-ctasEn: array:2 [
0 => array:3 [
"link" => "https://ppmc-presqueprod.webapic.com/admin/taxons/1/edit"
"image" => null
"image_path" => "_63d24fcdd3f284.33626130.png"
]
1 => array:3 [
"link" => "https://ppmc-presqueprod.webapic.com/sac-personnalise-sac-zip"
"image" => null
"image_path" => "_63d24fcdd409b2.14343076.png"
]
]
-referencement: null
-referencementen: null
-seoLinks: null
#filters: null
#automatic: false
#images: Doctrine\ORM\PersistentCollection {#6546
-snapshot: []
-owner: Proxies\__CG__\App\Entity\Taxonomy\Taxon {#4967 …2}
-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 {#6536
-elements: []
}
#initialized: false
}
#id: 1
#code: "MENU_CATEGORY"
#root: Proxies\__CG__\App\Entity\Taxonomy\Taxon {#4967 …2}
#parent: null
#children: Doctrine\ORM\PersistentCollection {#6545
-snapshot: []
-owner: Proxies\__CG__\App\Entity\Taxonomy\Taxon {#4967 …2}
-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 {#6549
-elements: []
}
#initialized: false
}
#left: 1
#right: 184
#level: 0
#position: -10
#translations: Doctrine\ORM\PersistentCollection {#6529
-snapshot: []
-owner: Proxies\__CG__\App\Entity\Taxonomy\Taxon {#4967 …2}
-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 {#6527
-elements: []
}
#initialized: false
}
#translationsCache: array:1 [
"fr_FR" => App\Entity\Taxonomy\TaxonTranslation {#8251
#seoTitle: "Nos Accessoires de Mode en tissu"
#seoMetaDescription: "Accessoires de mode en tissu, accessoires cheveux, Sacs, pochettes, et nos produits Zéro déchet | Pour Femmes, ados, enfants et bébés"
#rectangleOrangeText: null
#rectangleOrangeTextButton: null
#rectangleOrangeTextUrl: null
-linkImageLastLevel1: null
-linkImageLastLevel2: null
#id: 3
#name: "Nos produits"
#slug: "nos-produits"
#description: """
<h2>Sacs, chouchous, étui à lunette, pochettes, bavoirs, lanières, bienvenue dans l'univers Papa Pique et Maman Coud</h2>\r\n
Partez à la découverte d'articles en tissu coloré pour tous les jours. Un large choix de sacs à main, d'accessoires de sac, d'accessoire cheveux et de pochettes dans des tissus de collections PPMC.
"""
#locale: "fr_FR"
#translatable: Proxies\__CG__\App\Entity\Taxonomy\Taxon {#4967 …2}
}
]
#currentLocale: "fr_FR"
#currentTranslation: null
#fallbackLocale: "fr_FR"
#enabled: true
#createdAt: DateTime @1631533296 {#6495
date: 2021-09-13 13:41:36.0 Europe/Berlin (+02:00)
}
#updatedAt: DateTime @1674724079 {#6496
date: 2023-01-26 10:07:59.0 Europe/Berlin (+01:00)
}
…2
}
#parent: App\Entity\Taxonomy\Taxon {#6876
-categoryType: "category_type_product"
-singleArticle: null
-singleArticleCategory: Proxies\__CG__\App\Entity\SiteArticleCategory {#6593
+__isInitialized__: false
#id: 7
#images: null
#createdAt: null
#updatedAt: null
#translations: null
#translationsCache: []
#currentLocale: null
#currentTranslation: null
#fallbackLocale: null
…2
}
-singleArticleCategoryTitle: "Suivez les dernières tendances"
-singleArticleCategoryTitleen: null
-looks: null
-ctas: []
-ctasEn: []
-referencement: """
Accessoires de sac à main, de sac de voyage, de sac de sport...autant de produits qui vous simplifient la vie et autant d'idées cadeaux pour vos proches. Des accessoires de sac qui égaient aussi votre quotidien en y mettant une touche de fantaisie !\r\n
<div> </div>\r\n
\r\n
<div> </div>
"""
-referencementen: "Handbag accessories, travel bags, sports bags... so many products that simplify your life and so many gift ideas for your loved ones. Bag accessories that brighten up your daily life by adding a touch of fantasy!"
-seoLinks: array:8 [
0 => 2
1 => 145
2 => 155
3 => 176
4 => 182
5 => 185
6 => 194
7 => 202
]
#filters: null
#automatic: false
#images: Doctrine\ORM\PersistentCollection {#6879
-snapshot: []
-owner: App\Entity\Taxonomy\Taxon {#6876}
-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 {#6880
-elements: []
}
#initialized: false
}
#id: 162
#code: "accessoires-de-sacs"
#root: Proxies\__CG__\App\Entity\Taxonomy\Taxon {#4967 …2}
#parent: Proxies\__CG__\App\Entity\Taxonomy\Taxon {#4967 …2}
#children: Doctrine\ORM\PersistentCollection {#6881
-snapshot: []
-owner: App\Entity\Taxonomy\Taxon {#6876}
-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 {#6882
-elements: []
}
#initialized: false
}
#left: 100
#right: 123
#level: 1
#position: 3
#translations: Doctrine\ORM\PersistentCollection {#6877
-snapshot: []
-owner: App\Entity\Taxonomy\Taxon {#6876}
-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 {#6878
-elements: []
}
#initialized: false
}
#translationsCache: array:1 [
"fr_FR" => App\Entity\Taxonomy\TaxonTranslation {#8211
#seoTitle: "Accessoires de sac - Motifs et coloris variés"
#seoMetaDescription: "Découvrez tous nos accessoires de sac conçus en tissu et coton imperméable avec des motifs originaux : porte-monnaie, portefeuille, housse téléphone, étui lunettes..."
#rectangleOrangeText: null
#rectangleOrangeTextButton: null
#rectangleOrangeTextUrl: null
-linkImageLastLevel1: null
-linkImageLastLevel2: null
#id: 294
#name: "Accessoires de sacs"
#slug: "nos-produits/accessoires-de-sacs"
#description: """
<h2>Les accessoires de sacs pour femme et homme</h2>\r\n
Du <strong>porte-chéquier à l'étui à lunettes</strong> en passant par les pochettes en tissu et l'éventail, retrouvez notre large sélection d'<strong>accessoire de sacs pour femme </strong>et homme. Accessoire de mode au quotidien, ces articles sont aussi esthétiques que pratiques. Détournez-les et customisez-les comme bon vous semble ! Découvrez notre sélection de <strong>portefeuilles et porte-monnaie</strong>. <strong>Accessoires du quotidien</strong>, ils sont aussi jolis que pratiques avec leurs multiples rangements. En tissu enduit pour plus de résistance, nos porte-monnaie conviendront parfaitement à une femme, adolescente ou petite fille mais aussi aux hommes dans nos collections plus classiques. \r\n
\r\n
<div> </div>\r\n
\r\n
<div> </div>
"""
#locale: "fr_FR"
#translatable: App\Entity\Taxonomy\Taxon {#6876}
}
]
#currentLocale: "fr_FR"
#currentTranslation: null
#fallbackLocale: "fr_FR"
#enabled: true
#createdAt: DateTime @1658926117 {#6874
date: 2022-07-27 14:48:37.0 Europe/Berlin (+02:00)
}
#updatedAt: DateTime @1675425895 {#6875
date: 2023-02-03 13:04:55.0 Europe/Berlin (+01:00)
}
}
#children: Doctrine\ORM\PersistentCollection {#6926
-snapshot: []
-owner: App\Entity\Taxonomy\Taxon {#6921}
-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 {#6927
-elements: []
}
#initialized: false
}
#left: 109
#right: 110
#level: 2
#position: 4
#translations: Doctrine\ORM\PersistentCollection {#6922
-snapshot: array:1 [ …1]
-owner: App\Entity\Taxonomy\Taxon {#6921}
-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 {#6923
-elements: array:1 [
"fr_FR" => App\Entity\Taxonomy\TaxonTranslation {#8223
#seoTitle: "Housse Téléphone avec Bandoulière"
#seoMetaDescription: "Adoptez la housse téléphone avec bandoulière en tissu enduit imperméable et résistant. Idéal quand vous sortez uniquement avec votre téléphone et la carte de crédit ? Livraison offerte à partir de 50€ d'achats"
#rectangleOrangeText: null
#rectangleOrangeTextButton: null
#rectangleOrangeTextUrl: null
-linkImageLastLevel1: null
-linkImageLastLevel2: null
#id: 299
#name: "Housses téléphone"
#slug: "nos-produits/accessoires-de-sacs/housses-telephone"
#description: """
<h2>La pochette téléphone bandoulière, pour des balades les mains libres !</h2>\r\n
Se faciliter la vie avec une pochette téléphone, qui ne connaît pas ce bonheur pour y ranger son téléphone ou sa carte de crédit pour sortir ? Plutôt que de tenir son portable à la main ou d'apporter un sac à main avec soit alors qu’on n’en a pas forcément besoin. Il y a un moyen d’éviter ces deux situations ; utiliser une <strong>pochette téléphone bandoulière</strong>, dans laquelle on ne range que l’essentiel, pour garder sa<strong> liberté de mouvement</strong>. Profitez pleinement de vos balades en plein air avec la housse téléphone avec bandoulière PPMC !
"""
#locale: "fr_FR"
#translatable: App\Entity\Taxonomy\Taxon {#6921}
}
]
}
#initialized: true
}
#translationsCache: array:1 [
"fr_FR" => App\Entity\Taxonomy\TaxonTranslation {#8223}
]
#currentLocale: "fr_FR"
#currentTranslation: null
#fallbackLocale: "fr_FR"
#enabled: true
#createdAt: DateTime @1658926248 {#6919
date: 2022-07-27 14:50:48.0 Europe/Berlin (+02:00)
}
#updatedAt: DateTime @1674651909 {#6920
date: 2023-01-25 14:05:09.0 Europe/Berlin (+01: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: 2383
#code: "POCH.TEL"
#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 @1624259665 {#8595
date: 2021-06-21 09:14:25.0 Europe/Berlin (+02:00)
}
#updatedAt: DateTime @1676281008 {#8597
date: 2023-02-13 10:36:48.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: """
Plutôt que de ne pas avoir de poche pour y ranger son téléphone ou sa carte de crédit pour sortir, optez pour la pochette téléphone.<br />\r\n
<br />\r\n
En effet, vous pouvez opter pour une <strong>grande lanière amovible</strong> Papa Pique et Maman Coud du coloris de votre choix pour pouvoir <strong>porter votre pochette téléphone en bandoulière</strong>. <br />\r\n
<br />\r\n
Profitez pleinement de vos sorties en plein air les mains libres !
"""
#maintenance: """
Afin de garder votre pochette téléphone préférée le plus longtemps possible il vous suffit simplement de la laver dans votre <strong>machine à laver à une température de 30°C maximum </strong>sans assouplissant. Pensez également à ne pas programmer un essorage trop fort, vous risquerez d'abîmer le tissu de votre housse de téléphone. <br />\r\n
<br />\r\n
<strong>Laissez sécher</strong> votre pochette téléphone à<strong> l’air libre</strong> pour ne pas l’abîmer. <br />\r\n
<br />\r\n
Pour toutes questions relatives à votre étui de téléphone, nous vous invitons à <strong>contacter le service client Papa Pique et Maman Coud</strong>.
"""
#smallAddText: null
#shortDescription: null
#id: 68876
#name: "Pochette téléphone"
#slug: "68876"
#description: """
Avec le <strong>tissu enduit </strong>de la pochette téléphone bandoulière, votre smartphone ou votre carte seront bien protégés des caprices de la météo, ils ne prendront pas l’eau ! Ils ne craindront pas les chocs non plus puisque la pochette est<strong> rembourrée de mousse</strong>.<br />\r\n
<br />\r\n
Très pratique, la pochette <strong>se porte <a href="https://ppmc-presqueprod.webapic.com/recherche?search=bandouli%C3%A8re">en bandoulière</a></strong>, ce qui dégage complètement vos mains pour faire autre chose. Sa taille lui octroie un certain avantage ; pas besoin de fouiller dans le sac que l’on trouve d’un coup bien trop profond pour trouver son téléphone, mais est tout de même <strong>assez grand pour la plupart des smartphones*.<br />\r\n
<br />\r\n
*<u>Le conseil PPMC</u> : </strong>pour que votre pochette téléphone puisse fermer, nous conseillons une<strong> hauteur maximum du téléphone de 16 cm sans coque. </strong>
"""
#metaKeywords: null
#metaDescription: "Découvrez l’indispensable pochette téléphone Papa Pique et Maman Coud en tissu enduit à porter avec une lanière amovible pour profiter les mains libres !"
#locale: "fr_FR"
#translatable: App\Entity\Product\Product {#8599}
}
]
#currentLocale: "fr_FR"
#currentTranslation: null
#fallbackLocale: "fr_FR"
}
1 => App\Entity\Product\Product {#8402
#conditioning: "quantity"
#strongPoints: false
#article: null
#giftWrapMyself: false
#giftWrapByPPMC: false
#googleProductTypeId: 2353
#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 {#6921}
#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: 1903
#code: "ETUI.TEL"
#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 @1390567641 {#8406
date: 2014-01-24 13:47:21.0 Europe/Berlin (+01:00)
}
#updatedAt: DateTime @1676282973 {#8405
date: 2023-02-13 11:09:33.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>Permet de transporter partout son téléphone à l’abri</li>\r\n
\t<li>Une fermeture ingénieuse avec une languette rabattable</li>\r\n
\t<li>Fait en tissu uni ou coloré</li>\r\n
\t<li>Lavable en machine à 30°</li>\r\n
</ul>
"""
#maintenance: "Comme de nombreux articles Papa Pique et Maman Coud, l'étui à téléphone se lave facilement en machine à 30° sans sèche linge."
#smallAddText: null
#shortDescription: null
#id: 55152
#name: "Étui téléphone portable"
#slug: "55152"
#description: """
<h2>L'étui téléphone qui protège des chocs</h2>\r\n
<br />\r\n
Découvrez notre <strong>étui téléphone</strong> qui convient au téléphone portable de maximum 15cm en longueur et 8 cm largeur. Cette <strong>housse en tissu est parfaite pour protéger votre téléphone</strong> dans vos sacs de vos autres affaires. La fermeture se fait grâce à une <strong>languette rabattable aimantée</strong> qui se clips et se déclips très facilement. <br />\r\n
<br />\r\n
Ce modèle est à fabriqué dans plusieurs coloris signés PPMC.
"""
#metaKeywords: null
#metaDescription: "L'étui téléphone portable coloré pour protéger votre téléphone des chocs."
#locale: "fr_FR"
#translatable: App\Entity\Product\Product {#8402}
}
]
#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:6 [
14 => array:2 [
0 => "pour elle"
1 => "pour lui"
]
"color" => array:29 [
0 => "1721"
1 => "3678"
2 => "3693"
3 => "3696"
4 => "3830"
5 => "3835"
6 => "3882"
7 => "3905"
8 => "3954"
9 => "3956"
10 => "3970"
11 => "4040"
12 => "4117"
13 => "4133"
14 => "4140"
15 => "4153"
16 => "4191"
17 => "4192"
18 => "4203"
19 => "4211"
20 => "4212"
21 => "4220"
22 => "4245"
23 => "4248"
24 => "4250"
25 => "4252"
26 => "4253"
27 => "4258"
28 => "4262"
]
"shape" => array:2 [
0 => 1903
1 => 2383
]
16 => array:2 [
0 => "pour elle"
1 => "pour lui"
]
"badge" => array:3 [
0 => "low_price"
1 => "newest"
2 => "solde"
]
10 => array:2 [
0 => "coton enduit"
1 => "suédine"
]
]
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" => 30
"relation" => "eq"
]
"max_score" => null
"hits" => array:30 [
0 => array:5 [
"_index" => "ppmcdev_1_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_41454"
"_score" => 3.0
"sort" => array:3 [
0 => 1
1 => 443
2 => 3.0
]
]
1 => array:5 [
"_index" => "ppmcdev_1_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_41514"
"_score" => 3.0
"sort" => array:3 [
0 => 1
1 => 326
2 => 3.0
]
]
2 => array:5 [
"_index" => "ppmcdev_1_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_41872"
"_score" => 3.0
"sort" => array:3 [
0 => 1
1 => 281
2 => 3.0
]
]
3 => array:5 [
"_index" => "ppmcdev_1_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_41680"
"_score" => 3.0
"sort" => array:3 [
0 => 1
1 => 36
2 => 3.0
]
]
4 => array:5 [
"_index" => "ppmcdev_1_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_41370"
"_score" => 3.0
"sort" => array:3 [
0 => 1
1 => 13
2 => 3.0
]
]
5 => array:5 [
"_index" => "ppmcdev_1_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_34635"
"_score" => 3.0
"sort" => array:3 [
0 => 2
1 => 155
2 => 3.0
]
]
6 => array:5 [
"_index" => "ppmcdev_1_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_36681"
"_score" => 3.0
"sort" => array:3 [
0 => 2
1 => 108
2 => 3.0
]
]
7 => array:5 [
"_index" => "ppmcdev_1_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_34433"
"_score" => 3.0
"sort" => array:3 [
0 => 2
1 => 54
2 => 3.0
]
]
8 => array:5 [
"_index" => "ppmcdev_1_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_33999"
"_score" => 3.0
"sort" => array:3 [
0 => 2
1 => 45
2 => 3.0
]
]
9 => array:5 [
"_index" => "ppmcdev_1_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_36468"
"_score" => 3.0
"sort" => array:3 [
0 => 2
1 => 37
2 => 3.0
]
]
10 => array:5 [
"_index" => "ppmcdev_1_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_37235"
"_score" => 3.0
"sort" => array:3 [
0 => 2
1 => 22
2 => 3.0
]
]
11 => array:5 [
"_index" => "ppmcdev_1_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_35698"
"_score" => 3.0
"sort" => array:3 [
0 => 2
1 => 6
2 => 3.0
]
]
12 => array:5 [
"_index" => "ppmcdev_1_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_39226"
"_score" => 3.0
"sort" => array:3 [
0 => 4
1 => 9
2 => 3.0
]
]
13 => array:5 [
"_index" => "ppmcdev_1_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_40806"
"_score" => 3.0
"sort" => array:3 [
0 => 100
1 => 495
2 => 3.0
]
]
14 => array:5 [
"_index" => "ppmcdev_1_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_38328"
"_score" => 3.0
"sort" => array:3 [
0 => 100
1 => 488
2 => 3.0
]
]
15 => array:5 [
"_index" => "ppmcdev_1_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_40138"
"_score" => 3.0
"sort" => array:3 [
0 => 100
1 => 476
2 => 3.0
]
]
16 => array:5 [
"_index" => "ppmcdev_1_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_39078"
"_score" => 3.0
"sort" => array:3 [
0 => 100
1 => 287
2 => 3.0
]
]
17 => array:5 [
"_index" => "ppmcdev_1_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_41226"
"_score" => 3.0
"sort" => array:3 [
0 => 100
1 => 213
2 => 3.0
]
]
18 => array:5 [
"_index" => "ppmcdev_1_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_40398"
"_score" => 3.0
"sort" => array:3 [
0 => 100
1 => 160
2 => 3.0
]
]
19 => array:5 [
"_index" => "ppmcdev_1_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_39694"
"_score" => 3.0
"sort" => array:3 [
0 => 100
1 => 126
2 => 3.0
]
]
20 => array:5 [
"_index" => "ppmcdev_1_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_38996"
"_score" => 3.0
"sort" => array:3 [
0 => 100
1 => 75
2 => 3.0
]
]
21 => array:5 [
"_index" => "ppmcdev_1_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_40579"
"_score" => 3.0
"sort" => array:3 [
0 => 100
1 => 55
2 => 3.0
]
]
22 => array:5 [
"_index" => "ppmcdev_1_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_39783"
"_score" => 3.0
"sort" => array:3 [
0 => 100
1 => 42
2 => 3.0
]
]
23 => array:5 [
"_index" => "ppmcdev_1_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_40972"
"_score" => 3.0
"sort" => array:3 [
0 => 100
1 => 31
2 => 3.0
]
]
24 => array:5 [
"_index" => "ppmcdev_1_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_41080"
"_score" => 3.0
"sort" => array:3 [
0 => 100
1 => 23
2 => 3.0
]
]
25 => array:5 [
"_index" => "ppmcdev_1_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_38923"
"_score" => 3.0
"sort" => array:3 [
0 => 100
1 => 10
2 => 3.0
]
]
26 => array:5 [
"_index" => "ppmcdev_1_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_40343"
"_score" => 3.0
"sort" => array:3 [
0 => 100
1 => 9
2 => 3.0
]
]
27 => array:5 [
"_index" => "ppmcdev_1_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_39508"
"_score" => 3.0
"sort" => array:3 [
0 => 100
1 => 8
2 => 3.0
]
]
28 => array:5 [
"_index" => "ppmcdev_1_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_41300"
"_score" => 3.0
"sort" => array:3 [
0 => 100
1 => 6
2 => 3.0
]
]
29 => array:5 [
"_index" => "ppmcdev_1_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_40137"
"_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/nos-produits/accessoires-de-sacs/housses-telephone"