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" => 36
]
]
]
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:36 [
0 => array:2 [
"key" => "1721"
"doc_count" => 1
]
1 => array:2 [
"key" => "3579"
"doc_count" => 1
]
2 => array:2 [
"key" => "3672"
"doc_count" => 1
]
3 => array:2 [
"key" => "3694"
"doc_count" => 1
]
4 => array:2 [
"key" => "3696"
"doc_count" => 1
]
5 => array:2 [
"key" => "3830"
"doc_count" => 1
]
6 => array:2 [
"key" => "3835"
"doc_count" => 1
]
7 => array:2 [
"key" => "3882"
"doc_count" => 1
]
8 => array:2 [
"key" => "3957"
"doc_count" => 1
]
9 => array:2 [
"key" => "3970"
"doc_count" => 1
]
10 => array:2 [
"key" => "4040"
"doc_count" => 1
]
11 => array:2 [
"key" => "4042"
"doc_count" => 1
]
12 => array:2 [
"key" => "4056"
"doc_count" => 1
]
13 => array:2 [
"key" => "4059"
"doc_count" => 1
]
14 => array:2 [
"key" => "4087"
"doc_count" => 1
]
15 => array:2 [
"key" => "4088"
"doc_count" => 1
]
16 => array:2 [
"key" => "4089"
"doc_count" => 1
]
17 => array:2 [
"key" => "4116"
"doc_count" => 1
]
18 => array:2 [
"key" => "4126"
"doc_count" => 1
]
19 => array:2 [
"key" => "4132"
"doc_count" => 1
]
20 => array:2 [
"key" => "4140"
"doc_count" => 1
]
21 => array:2 [
"key" => "4141"
"doc_count" => 1
]
22 => array:2 [
"key" => "4190"
"doc_count" => 1
]
23 => array:2 [
"key" => "4191"
"doc_count" => 1
]
24 => array:2 [
"key" => "4192"
"doc_count" => 1
]
25 => array:2 [
"key" => "4193"
"doc_count" => 1
]
26 => array:2 [
"key" => "4203"
"doc_count" => 1
]
27 => array:2 [
"key" => "4211"
"doc_count" => 1
]
28 => array:2 [
"key" => "4212"
"doc_count" => 1
]
29 => array:2 [
"key" => "4213"
"doc_count" => 1
]
30 => array:2 [
"key" => "4220"
"doc_count" => 1
]
31 => array:2 [
"key" => "4245"
"doc_count" => 1
]
32 => array:2 [
"key" => "4248"
"doc_count" => 1
]
33 => array:2 [
"key" => "4250"
"doc_count" => 1
]
34 => array:2 [
"key" => "4253"
"doc_count" => 1
]
35 => array:2 [
"key" => "4258"
"doc_count" => 1
]
]
]
"shape" => array:3 [
"doc_count_error_upper_bound" => 0
"sum_other_doc_count" => 0
"buckets" => array:1 [
0 => array:2 [
"key" => 2179
"doc_count" => 36
]
]
]
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" => 36
]
]
]
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" => 6
]
1 => array:2 [
"key" => "newest"
"doc_count" => 3
]
2 => array:2 [
"key" => "low_price"
"doc_count" => 1
]
]
]
"max_price" => array:1 [
"value" => 1200.0
]
"min_price" => array:1 [
"value" => 550.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" => 36
]
]
]
]
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:36 [
0 => "1721"
1 => "3579"
2 => "3672"
3 => "3694"
4 => "3696"
5 => "3830"
6 => "3835"
7 => "3882"
8 => "3957"
9 => "3970"
10 => "4040"
11 => "4042"
12 => "4056"
13 => "4059"
14 => "4087"
15 => "4088"
16 => "4089"
17 => "4116"
18 => "4126"
19 => "4132"
20 => "4140"
21 => "4141"
22 => "4190"
23 => "4191"
24 => "4192"
25 => "4193"
26 => "4203"
27 => "4211"
28 => "4212"
29 => "4213"
30 => "4220"
31 => "4245"
32 => "4248"
33 => "4250"
34 => "4253"
35 => "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" => 36
"relation" => "eq"
]
"max_score" => null
"hits" => array:36 [
0 => array:5 [
"_index" => "ppmcdev_2_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_41875"
"_score" => 3.0
"sort" => array:3 [
0 => 1
1 => 175
2 => 3.0
]
]
1 => array:5 [
"_index" => "ppmcdev_2_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_41524"
"_score" => 3.0
"sort" => array:3 [
0 => 1
1 => 152
2 => 3.0
]
]
2 => array:5 [
"_index" => "ppmcdev_2_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_41449"
"_score" => 3.0
"sort" => array:3 [
0 => 1
1 => 139
2 => 3.0
]
]
3 => array:5 [
"_index" => "ppmcdev_2_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_34652"
"_score" => 3.0
"sort" => array:3 [
0 => 2
1 => 19
2 => 3.0
]
]
4 => array:5 [
"_index" => "ppmcdev_2_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_38283"
"_score" => 3.0
"sort" => array:3 [
0 => 4
1 => 9
2 => 3.0
]
]
5 => array:5 [
"_index" => "ppmcdev_2_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_38845"
"_score" => 3.0
"sort" => array:3 [
0 => 4
1 => 9
2 => 3.0
]
]
6 => array:5 [
"_index" => "ppmcdev_2_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_37889"
"_score" => 3.0
"sort" => array:3 [
0 => 4
1 => 8
2 => 3.0
]
]
7 => array:5 [
"_index" => "ppmcdev_2_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_38707"
"_score" => 3.0
"sort" => array:3 [
0 => 4
1 => 8
2 => 3.0
]
]
8 => array:5 [
"_index" => "ppmcdev_2_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_39333"
"_score" => 3.0
"sort" => array:3 [
0 => 4
1 => 8
2 => 3.0
]
]
9 => array:5 [
"_index" => "ppmcdev_2_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_38767"
"_score" => 3.0
"sort" => array:3 [
0 => 4
1 => 7
2 => 3.0
]
]
10 => array:5 [
"_index" => "ppmcdev_2_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_38178"
"_score" => 3.0
"sort" => array:3 [
0 => 100
1 => 191
2 => 3.0
]
]
11 => array:5 [
"_index" => "ppmcdev_2_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_40799"
"_score" => 3.0
"sort" => array:3 [
0 => 100
1 => 153
2 => 3.0
]
]
12 => array:5 [
"_index" => "ppmcdev_2_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_39793"
"_score" => 3.0
"sort" => array:3 [
0 => 100
1 => 132
2 => 3.0
]
]
13 => array:5 [
"_index" => "ppmcdev_2_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_40965"
"_score" => 3.0
"sort" => array:3 [
0 => 100
1 => 126
2 => 3.0
]
]
14 => array:5 [
"_index" => "ppmcdev_2_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_40391"
"_score" => 3.0
"sort" => array:3 [
0 => 100
1 => 119
2 => 3.0
]
]
15 => array:5 [
"_index" => "ppmcdev_2_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_32687"
"_score" => 3.0
"sort" => array:3 [
0 => 100
1 => 107
2 => 3.0
]
]
16 => array:5 [
"_index" => "ppmcdev_2_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_40336"
"_score" => 3.0
"sort" => array:3 [
0 => 100
1 => 81
2 => 3.0
]
]
17 => array:5 [
"_index" => "ppmcdev_2_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_38924"
"_score" => 3.0
"sort" => array:3 [
0 => 100
1 => 74
2 => 3.0
]
]
18 => array:5 [
"_index" => "ppmcdev_2_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_40300"
"_score" => 3.0
"sort" => array:3 [
0 => 100
1 => 62
2 => 3.0
]
]
19 => array:5 [
"_index" => "ppmcdev_2_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_41295"
"_score" => 3.0
"sort" => array:3 [
0 => 100
1 => 62
2 => 3.0
]
]
20 => array:5 [
"_index" => "ppmcdev_2_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_41076"
"_score" => 3.0
"sort" => array:3 [
0 => 100
1 => 52
2 => 3.0
]
]
21 => array:5 [
"_index" => "ppmcdev_2_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_36001"
"_score" => 3.0
"sort" => array:3 [
0 => 100
1 => 42
2 => 3.0
]
]
22 => array:5 [
"_index" => "ppmcdev_2_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_36003"
"_score" => 3.0
"sort" => array:3 [
0 => 100
1 => 33
2 => 3.0
]
]
23 => array:5 [
"_index" => "ppmcdev_2_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_36933"
"_score" => 3.0
"sort" => array:3 [
0 => 100
1 => 26
2 => 3.0
]
]
24 => array:5 [
"_index" => "ppmcdev_2_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_40922"
"_score" => 3.0
"sort" => array:3 [
0 => 100
1 => 19
2 => 3.0
]
]
25 => array:5 [
"_index" => "ppmcdev_2_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_41233"
"_score" => 3.0
"sort" => array:3 [
0 => 100
1 => 16
2 => 3.0
]
]
26 => array:5 [
"_index" => "ppmcdev_2_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_34521"
"_score" => 3.0
"sort" => array:3 [
0 => 100
1 => 14
2 => 3.0
]
]
27 => array:5 [
"_index" => "ppmcdev_2_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_40572"
"_score" => 3.0
"sort" => array:3 [
0 => 100
1 => 14
2 => 3.0
]
]
28 => array:5 [
"_index" => "ppmcdev_2_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_33698"
"_score" => 3.0
"sort" => array:3 [
0 => 100
1 => 13
2 => 3.0
]
]
29 => array:5 [
"_index" => "ppmcdev_2_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_39470"
"_score" => 3.0
"sort" => array:3 [
0 => 100
1 => 13
2 => 3.0
]
]
30 => array:5 [
"_index" => "ppmcdev_2_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_35706"
"_score" => 3.0
"sort" => array:3 [
0 => 100
1 => 12
2 => 3.0
]
]
31 => array:5 [
"_index" => "ppmcdev_2_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_40845"
"_score" => 3.0
"sort" => array:3 [
0 => 100
1 => 11
2 => 3.0
]
]
32 => array:5 [
"_index" => "ppmcdev_2_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_37524"
"_score" => 3.0
"sort" => array:3 [
0 => 100
1 => 10
2 => 3.0
]
]
33 => array:5 [
"_index" => "ppmcdev_2_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_30759"
"_score" => 3.0
"sort" => array:3 [
0 => 100
1 => 9
2 => 3.0
]
]
34 => array:5 [
"_index" => "ppmcdev_2_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_40077"
"_score" => 3.0
"sort" => array:3 [
0 => 100
1 => 6
2 => 3.0
]
]
35 => array:5 [
"_index" => "ppmcdev_2_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_39129"
"_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/pochettes/pochette-enveloppe"