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" => 29
]
]
]
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" => "1"
"doc_count" => 1
]
1 => array:2 [
"key" => "1794"
"doc_count" => 1
]
2 => array:2 [
"key" => "3672"
"doc_count" => 1
]
3 => array:2 [
"key" => "3695"
"doc_count" => 1
]
4 => array:2 [
"key" => "3698"
"doc_count" => 1
]
5 => array:2 [
"key" => "3838"
"doc_count" => 1
]
6 => array:2 [
"key" => "3905"
"doc_count" => 1
]
7 => array:2 [
"key" => "3906"
"doc_count" => 1
]
8 => array:2 [
"key" => "3935"
"doc_count" => 1
]
9 => array:2 [
"key" => "3954"
"doc_count" => 1
]
10 => array:2 [
"key" => "3957"
"doc_count" => 1
]
11 => array:2 [
"key" => "3999"
"doc_count" => 1
]
12 => array:2 [
"key" => "4040"
"doc_count" => 1
]
13 => array:2 [
"key" => "4041"
"doc_count" => 1
]
14 => array:2 [
"key" => "4043"
"doc_count" => 1
]
15 => array:2 [
"key" => "4056"
"doc_count" => 1
]
16 => array:2 [
"key" => "4059"
"doc_count" => 1
]
17 => array:2 [
"key" => "4085"
"doc_count" => 1
]
18 => array:2 [
"key" => "4086"
"doc_count" => 1
]
19 => array:2 [
"key" => "4089"
"doc_count" => 1
]
20 => array:2 [
"key" => "4117"
"doc_count" => 1
]
21 => array:2 [
"key" => "4127"
"doc_count" => 1
]
22 => array:2 [
"key" => "4153"
"doc_count" => 1
]
23 => array:2 [
"key" => "4191"
"doc_count" => 1
]
24 => array:2 [
"key" => "4193"
"doc_count" => 1
]
25 => array:2 [
"key" => "4202"
"doc_count" => 1
]
26 => array:2 [
"key" => "4211"
"doc_count" => 1
]
27 => array:2 [
"key" => "4220"
"doc_count" => 1
]
28 => array:2 [
"key" => "4249"
"doc_count" => 1
]
]
]
"shape" => array:3 [
"doc_count_error_upper_bound" => 0
"sum_other_doc_count" => 0
"buckets" => array:1 [
0 => array:2 [
"key" => 2273
"doc_count" => 29
]
]
]
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" => 29
]
]
]
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" => 18
]
1 => array:2 [
"key" => "newest"
"doc_count" => 1
]
2 => array:2 [
"key" => "solde"
"doc_count" => 1
]
]
]
"max_price" => array:1 [
"value" => 2300.0
]
"min_price" => array:1 [
"value" => 1150.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 enduit"
"doc_count" => 29
]
]
]
]
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:29 [
0 => "1"
1 => "1794"
2 => "3672"
3 => "3695"
4 => "3698"
5 => "3838"
6 => "3905"
7 => "3906"
8 => "3935"
9 => "3954"
10 => "3957"
11 => "3999"
12 => "4040"
13 => "4041"
14 => "4043"
15 => "4056"
16 => "4059"
17 => "4085"
18 => "4086"
19 => "4089"
20 => "4117"
21 => "4127"
22 => "4153"
23 => "4191"
24 => "4193"
25 => "4202"
26 => "4211"
27 => "4220"
28 => "4249"
]
"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" => 29
"relation" => "eq"
]
"max_score" => null
"hits" => array:29 [
0 => array:5 [
"_index" => "ppmcdev_1_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_41428"
"_score" => 3.0
"sort" => array:3 [
0 => 1
1 => 15
2 => 3.0
]
]
1 => array:5 [
"_index" => "ppmcdev_1_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_38197"
"_score" => 3.0
"sort" => array:3 [
0 => 2
1 => 217
2 => 3.0
]
]
2 => array:5 [
"_index" => "ppmcdev_1_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_38310"
"_score" => 3.0
"sort" => array:3 [
0 => 2
1 => 85
2 => 3.0
]
]
3 => array:5 [
"_index" => "ppmcdev_1_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_37542"
"_score" => 3.0
"sort" => array:3 [
0 => 2
1 => 83
2 => 3.0
]
]
4 => array:5 [
"_index" => "ppmcdev_1_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_32328"
"_score" => 3.0
"sort" => array:3 [
0 => 2
1 => 61
2 => 3.0
]
]
5 => array:5 [
"_index" => "ppmcdev_1_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_37858"
"_score" => 3.0
"sort" => array:3 [
0 => 2
1 => 61
2 => 3.0
]
]
6 => array:5 [
"_index" => "ppmcdev_1_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_37684"
"_score" => 3.0
"sort" => array:3 [
0 => 2
1 => 57
2 => 3.0
]
]
7 => array:5 [
"_index" => "ppmcdev_1_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_34549"
"_score" => 3.0
"sort" => array:3 [
0 => 2
1 => 45
2 => 3.0
]
]
8 => array:5 [
"_index" => "ppmcdev_1_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_38532"
"_score" => 3.0
"sort" => array:3 [
0 => 2
1 => 40
2 => 3.0
]
]
9 => array:5 [
"_index" => "ppmcdev_1_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_34675"
"_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_37944"
"_score" => 3.0
"sort" => array:3 [
0 => 2
1 => 33
2 => 3.0
]
]
11 => array:5 [
"_index" => "ppmcdev_1_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_38864"
"_score" => 3.0
"sort" => array:3 [
0 => 2
1 => 33
2 => 3.0
]
]
12 => array:5 [
"_index" => "ppmcdev_1_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_36332"
"_score" => 3.0
"sort" => array:3 [
0 => 2
1 => 28
2 => 3.0
]
]
13 => array:5 [
"_index" => "ppmcdev_1_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_36378"
"_score" => 3.0
"sort" => array:3 [
0 => 2
1 => 26
2 => 3.0
]
]
14 => array:5 [
"_index" => "ppmcdev_1_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_33715"
"_score" => 3.0
"sort" => array:3 [
0 => 2
1 => 17
2 => 3.0
]
]
15 => array:5 [
"_index" => "ppmcdev_1_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_36494"
"_score" => 3.0
"sort" => array:3 [
0 => 2
1 => 15
2 => 3.0
]
]
16 => array:5 [
"_index" => "ppmcdev_1_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_36720"
"_score" => 3.0
"sort" => array:3 [
0 => 2
1 => 11
2 => 3.0
]
]
17 => array:5 [
"_index" => "ppmcdev_1_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_38655"
"_score" => 3.0
"sort" => array:3 [
0 => 2
1 => 11
2 => 3.0
]
]
18 => array:5 [
"_index" => "ppmcdev_1_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_35506"
"_score" => 3.0
"sort" => array:3 [
0 => 2
1 => 5
2 => 3.0
]
]
19 => array:5 [
"_index" => "ppmcdev_1_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_39232"
"_score" => 3.0
"sort" => array:3 [
0 => 4
1 => 13
2 => 3.0
]
]
20 => array:5 [
"_index" => "ppmcdev_1_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_40983"
"_score" => 3.0
"sort" => array:3 [
0 => 100
1 => 199
2 => 3.0
]
]
21 => array:5 [
"_index" => "ppmcdev_1_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_39680"
"_score" => 3.0
"sort" => array:3 [
0 => 100
1 => 136
2 => 3.0
]
]
22 => array:5 [
"_index" => "ppmcdev_1_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_37840"
"_score" => 3.0
"sort" => array:3 [
0 => 100
1 => 113
2 => 3.0
]
]
23 => array:5 [
"_index" => "ppmcdev_1_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_41086"
"_score" => 3.0
"sort" => array:3 [
0 => 100
1 => 86
2 => 3.0
]
]
24 => array:5 [
"_index" => "ppmcdev_1_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_40316"
"_score" => 3.0
"sort" => array:3 [
0 => 100
1 => 66
2 => 3.0
]
]
25 => array:5 [
"_index" => "ppmcdev_1_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_40353"
"_score" => 3.0
"sort" => array:3 [
0 => 100
1 => 22
2 => 3.0
]
]
26 => array:5 [
"_index" => "ppmcdev_1_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_32336"
"_score" => 3.0
"sort" => array:3 [
0 => 100
1 => 14
2 => 3.0
]
]
27 => array:5 [
"_index" => "ppmcdev_1_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_39336"
"_score" => 3.0
"sort" => array:3 [
0 => 100
1 => 14
2 => 3.0
]
]
28 => array:5 [
"_index" => "ppmcdev_1_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_41058"
"_score" => 3.0
"sort" => array:3 [
0 => 100
1 => 10
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/univers-bebe/tapis-a-langer"