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" => 56
]
]
]
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:56 [
0 => array:2 [
"key" => "1"
"doc_count" => 1
]
1 => array:2 [
"key" => "1000"
"doc_count" => 1
]
2 => array:2 [
"key" => "34"
"doc_count" => 1
]
3 => array:2 [
"key" => "3672"
"doc_count" => 1
]
4 => array:2 [
"key" => "3675"
"doc_count" => 1
]
5 => array:2 [
"key" => "3694"
"doc_count" => 1
]
6 => array:2 [
"key" => "37"
"doc_count" => 1
]
7 => array:2 [
"key" => "3718"
"doc_count" => 1
]
8 => array:2 [
"key" => "3779"
"doc_count" => 1
]
9 => array:2 [
"key" => "38"
"doc_count" => 1
]
10 => array:2 [
"key" => "3814"
"doc_count" => 1
]
11 => array:2 [
"key" => "3835"
"doc_count" => 1
]
12 => array:2 [
"key" => "3889"
"doc_count" => 1
]
13 => array:2 [
"key" => "3890"
"doc_count" => 1
]
14 => array:2 [
"key" => "39"
"doc_count" => 1
]
15 => array:2 [
"key" => "3970"
"doc_count" => 1
]
16 => array:2 [
"key" => "3976"
"doc_count" => 1
]
17 => array:2 [
"key" => "3997"
"doc_count" => 1
]
18 => array:2 [
"key" => "3998"
"doc_count" => 1
]
19 => array:2 [
"key" => "3999"
"doc_count" => 1
]
20 => array:2 [
"key" => "4040"
"doc_count" => 1
]
21 => array:2 [
"key" => "4042"
"doc_count" => 1
]
22 => array:2 [
"key" => "4055"
"doc_count" => 1
]
23 => array:2 [
"key" => "4056"
"doc_count" => 1
]
24 => array:2 [
"key" => "4058"
"doc_count" => 1
]
25 => array:2 [
"key" => "4059"
"doc_count" => 1
]
26 => array:2 [
"key" => "4079"
"doc_count" => 1
]
27 => array:2 [
"key" => "4080"
"doc_count" => 1
]
28 => array:2 [
"key" => "4085"
"doc_count" => 1
]
29 => array:2 [
"key" => "4087"
"doc_count" => 1
]
30 => array:2 [
"key" => "4116"
"doc_count" => 1
]
31 => array:2 [
"key" => "4120"
"doc_count" => 1
]
32 => array:2 [
"key" => "4125"
"doc_count" => 1
]
33 => array:2 [
"key" => "4126"
"doc_count" => 1
]
34 => array:2 [
"key" => "4127"
"doc_count" => 1
]
35 => array:2 [
"key" => "4129"
"doc_count" => 1
]
36 => array:2 [
"key" => "4132"
"doc_count" => 1
]
37 => array:2 [
"key" => "4133"
"doc_count" => 1
]
38 => array:2 [
"key" => "4138"
"doc_count" => 1
]
39 => array:2 [
"key" => "4140"
"doc_count" => 1
]
40 => array:2 [
"key" => "4141"
"doc_count" => 1
]
41 => array:2 [
"key" => "4153"
"doc_count" => 1
]
42 => array:2 [
"key" => "4191"
"doc_count" => 1
]
43 => array:2 [
"key" => "4192"
"doc_count" => 1
]
44 => array:2 [
"key" => "4193"
"doc_count" => 1
]
45 => array:2 [
"key" => "4211"
"doc_count" => 1
]
46 => array:2 [
"key" => "4212"
"doc_count" => 1
]
47 => array:2 [
"key" => "4213"
"doc_count" => 1
]
48 => array:2 [
"key" => "4224"
"doc_count" => 1
]
49 => array:2 [
"key" => "4240"
"doc_count" => 1
]
50 => array:2 [
"key" => "4248"
"doc_count" => 1
]
51 => array:2 [
"key" => "4250"
"doc_count" => 1
]
52 => array:2 [
"key" => "4253"
"doc_count" => 1
]
53 => array:2 [
"key" => "4258"
"doc_count" => 1
]
54 => array:2 [
"key" => "51"
"doc_count" => 1
]
55 => array:2 [
"key" => "53"
"doc_count" => 1
]
]
]
"shape" => array:3 [
"doc_count_error_upper_bound" => 0
"sum_other_doc_count" => 0
"buckets" => array:1 [
0 => array:2 [
"key" => 2289
"doc_count" => 56
]
]
]
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" => 56
]
]
]
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" => "solde"
"doc_count" => 9
]
1 => array:2 [
"key" => "low_price"
"doc_count" => 3
]
2 => array:2 [
"key" => "newest"
"doc_count" => 3
]
]
]
"max_price" => array:1 [
"value" => 350.0
]
"min_price" => array:1 [
"value" => 175.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" => 56
]
]
]
]
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:56 [
0 => "1"
1 => "34"
2 => "37"
3 => "38"
4 => "39"
5 => "51"
6 => "53"
7 => "1000"
8 => "3672"
9 => "3675"
10 => "3694"
11 => "3718"
12 => "3779"
13 => "3814"
14 => "3835"
15 => "3889"
16 => "3890"
17 => "3970"
18 => "3976"
19 => "3997"
20 => "3998"
21 => "3999"
22 => "4040"
23 => "4042"
24 => "4055"
25 => "4056"
26 => "4058"
27 => "4059"
28 => "4079"
29 => "4080"
30 => "4085"
31 => "4087"
32 => "4116"
33 => "4120"
34 => "4125"
35 => "4126"
36 => "4127"
37 => "4129"
38 => "4132"
39 => "4133"
40 => "4138"
41 => "4140"
42 => "4141"
43 => "4153"
44 => "4191"
45 => "4192"
46 => "4193"
47 => "4211"
48 => "4212"
49 => "4213"
50 => "4224"
51 => "4240"
52 => "4248"
53 => "4250"
54 => "4253"
55 => "4258"
]
"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" => 56
"relation" => "eq"
]
"max_score" => null
"hits" => array:40 [
0 => array:5 [
"_index" => "ppmcdev_2_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_41884"
"_score" => 3.0
"sort" => array:3 [
0 => 1
1 => 202
2 => 3.0
]
]
1 => array:5 [
"_index" => "ppmcdev_2_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_41444"
"_score" => 3.0
"sort" => array:3 [
0 => 1
1 => 105
2 => 3.0
]
]
2 => array:5 [
"_index" => "ppmcdev_2_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_41571"
"_score" => 3.0
"sort" => array:3 [
0 => 1
1 => 74
2 => 3.0
]
]
3 => array:5 [
"_index" => "ppmcdev_2_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_38436"
"_score" => 3.0
"sort" => array:3 [
0 => 2
1 => 365
2 => 3.0
]
]
4 => array:5 [
"_index" => "ppmcdev_2_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_37282"
"_score" => 3.0
"sort" => array:3 [
0 => 2
1 => 48
2 => 3.0
]
]
5 => array:5 [
"_index" => "ppmcdev_2_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_37599"
"_score" => 3.0
"sort" => array:3 [
0 => 2
1 => 5
2 => 3.0
]
]
6 => array:5 [
"_index" => "ppmcdev_2_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_38262"
"_score" => 3.0
"sort" => array:3 [
0 => 4
1 => 394
2 => 3.0
]
]
7 => array:5 [
"_index" => "ppmcdev_2_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_37870"
"_score" => 3.0
"sort" => array:3 [
0 => 4
1 => 270
2 => 3.0
]
]
8 => array:5 [
"_index" => "ppmcdev_2_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_39390"
"_score" => 3.0
"sort" => array:3 [
0 => 4
1 => 233
2 => 3.0
]
]
9 => array:5 [
"_index" => "ppmcdev_2_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_38616"
"_score" => 3.0
"sort" => array:3 [
0 => 4
1 => 184
2 => 3.0
]
]
10 => array:5 [
"_index" => "ppmcdev_2_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_38071"
"_score" => 3.0
"sort" => array:3 [
0 => 4
1 => 158
2 => 3.0
]
]
11 => array:5 [
"_index" => "ppmcdev_2_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_40171"
"_score" => 3.0
"sort" => array:3 [
0 => 4
1 => 137
2 => 3.0
]
]
12 => array:5 [
"_index" => "ppmcdev_2_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_38685"
"_score" => 3.0
"sort" => array:3 [
0 => 4
1 => 38
2 => 3.0
]
]
13 => array:5 [
"_index" => "ppmcdev_2_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_39290"
"_score" => 3.0
"sort" => array:3 [
0 => 4
1 => 38
2 => 3.0
]
]
14 => array:5 [
"_index" => "ppmcdev_2_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_38364"
"_score" => 3.0
"sort" => array:3 [
0 => 4
1 => 10
2 => 3.0
]
]
15 => array:5 [
"_index" => "ppmcdev_2_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_35876"
"_score" => 3.0
"sort" => array:3 [
0 => 100
1 => 491
2 => 3.0
]
]
16 => array:5 [
"_index" => "ppmcdev_2_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_39126"
"_score" => 3.0
"sort" => array:3 [
0 => 100
1 => 383
2 => 3.0
]
]
17 => array:5 [
"_index" => "ppmcdev_2_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_40388"
"_score" => 3.0
"sort" => array:3 [
0 => 100
1 => 381
2 => 3.0
]
]
18 => array:5 [
"_index" => "ppmcdev_2_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_39943"
"_score" => 3.0
"sort" => array:3 [
0 => 100
1 => 271
2 => 3.0
]
]
19 => array:5 [
"_index" => "ppmcdev_2_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_38450"
"_score" => 3.0
"sort" => array:3 [
0 => 100
1 => 237
2 => 3.0
]
]
20 => array:5 [
"_index" => "ppmcdev_2_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_38912"
"_score" => 3.0
"sort" => array:3 [
0 => 100
1 => 224
2 => 3.0
]
]
21 => array:5 [
"_index" => "ppmcdev_2_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_38918"
"_score" => 3.0
"sort" => array:3 [
0 => 100
1 => 219
2 => 3.0
]
]
22 => array:5 [
"_index" => "ppmcdev_2_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_35374"
"_score" => 3.0
"sort" => array:3 [
0 => 100
1 => 199
2 => 3.0
]
]
23 => array:5 [
"_index" => "ppmcdev_2_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_40000"
"_score" => 3.0
"sort" => array:3 [
0 => 100
1 => 195
2 => 3.0
]
]
24 => array:5 [
"_index" => "ppmcdev_2_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_35391"
"_score" => 3.0
"sort" => array:3 [
0 => 100
1 => 172
2 => 3.0
]
]
25 => array:5 [
"_index" => "ppmcdev_2_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_39815"
"_score" => 3.0
"sort" => array:3 [
0 => 100
1 => 168
2 => 3.0
]
]
26 => array:5 [
"_index" => "ppmcdev_2_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_39217"
"_score" => 3.0
"sort" => array:3 [
0 => 100
1 => 164
2 => 3.0
]
]
27 => array:5 [
"_index" => "ppmcdev_2_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_35401"
"_score" => 3.0
"sort" => array:3 [
0 => 100
1 => 152
2 => 3.0
]
]
28 => array:5 [
"_index" => "ppmcdev_2_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_40919"
"_score" => 3.0
"sort" => array:3 [
0 => 100
1 => 136
2 => 3.0
]
]
29 => array:5 [
"_index" => "ppmcdev_2_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_39306"
"_score" => 3.0
"sort" => array:3 [
0 => 100
1 => 128
2 => 3.0
]
]
30 => array:5 [
"_index" => "ppmcdev_2_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_39702"
"_score" => 3.0
"sort" => array:3 [
0 => 100
1 => 119
2 => 3.0
]
]
31 => array:5 [
"_index" => "ppmcdev_2_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_39393"
"_score" => 3.0
"sort" => array:3 [
0 => 100
1 => 118
2 => 3.0
]
]
32 => array:5 [
"_index" => "ppmcdev_2_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_40962"
"_score" => 3.0
"sort" => array:3 [
0 => 100
1 => 112
2 => 3.0
]
]
33 => array:5 [
"_index" => "ppmcdev_2_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_40797"
"_score" => 3.0
"sort" => array:3 [
0 => 100
1 => 99
2 => 3.0
]
]
34 => array:5 [
"_index" => "ppmcdev_2_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_40842"
"_score" => 3.0
"sort" => array:3 [
0 => 100
1 => 96
2 => 3.0
]
]
35 => array:5 [
"_index" => "ppmcdev_2_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_33498"
"_score" => 3.0
"sort" => array:3 [
0 => 100
1 => 84
2 => 3.0
]
]
36 => array:5 [
"_index" => "ppmcdev_2_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_36879"
"_score" => 3.0
"sort" => array:3 [
0 => 100
1 => 79
2 => 3.0
]
]
37 => array:5 [
"_index" => "ppmcdev_2_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_37812"
"_score" => 3.0
"sort" => array:3 [
0 => 100
1 => 78
2 => 3.0
]
]
38 => array:5 [
"_index" => "ppmcdev_2_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_33503"
"_score" => 3.0
"sort" => array:3 [
0 => 100
1 => 70
2 => 3.0
]
]
39 => array:5 [
"_index" => "ppmcdev_2_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_38914"
"_score" => 3.0
"sort" => array:3 [
0 => 100
1 => 62
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/zero-dechets/gant-demaquillant"