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" => 12
]
]
]
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:12 [
0 => array:2 [
"key" => "3835"
"doc_count" => 1
]
1 => array:2 [
"key" => "3970"
"doc_count" => 1
]
2 => array:2 [
"key" => "4040"
"doc_count" => 1
]
3 => array:2 [
"key" => "4056"
"doc_count" => 1
]
4 => array:2 [
"key" => "4059"
"doc_count" => 1
]
5 => array:2 [
"key" => "4153"
"doc_count" => 1
]
6 => array:2 [
"key" => "4191"
"doc_count" => 1
]
7 => array:2 [
"key" => "4193"
"doc_count" => 1
]
8 => array:2 [
"key" => "4202"
"doc_count" => 1
]
9 => array:2 [
"key" => "4211"
"doc_count" => 1
]
10 => array:2 [
"key" => "4220"
"doc_count" => 1
]
11 => array:2 [
"key" => "4248"
"doc_count" => 1
]
]
]
"shape" => array:3 [
"doc_count_error_upper_bound" => 0
"sum_other_doc_count" => 0
"buckets" => array:1 [
0 => array:2 [
"key" => 2237
"doc_count" => 12
]
]
]
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" => 12
]
]
]
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:2 [
0 => array:2 [
"key" => "solde"
"doc_count" => 6
]
1 => array:2 [
"key" => "low_price"
"doc_count" => 1
]
]
]
"max_price" => array:1 [
"value" => 3700.0
]
"min_price" => array:1 [
"value" => 1850.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" => array:1 [
0 => array:2 [
"key" => "enfant 3-8 ans"
"doc_count" => 12
]
]
]
9 => array:3 [
"doc_count_error_upper_bound" => 0
"sum_other_doc_count" => 0
"buckets" => array:1 [
0 => array:2 [
"key" => "6 l"
"doc_count" => 12
]
]
]
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" => 12
]
]
]
]
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:12 [
0 => "3835"
1 => "3970"
2 => "4040"
3 => "4056"
4 => "4059"
5 => "4153"
6 => "4191"
7 => "4193"
8 => "4202"
9 => "4211"
10 => "4220"
11 => "4248"
]
"badge" => array:2 [
0 => "low_price"
1 => "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" => 12
"relation" => "eq"
]
"max_score" => null
"hits" => array:12 [
0 => array:5 [
"_index" => "ppmcdev_2_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_38260"
"_score" => 3.0
"sort" => array:3 [
0 => 2
1 => 9
2 => 3.0
]
]
1 => array:5 [
"_index" => "ppmcdev_2_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_41391"
"_score" => 3.0
"sort" => array:3 [
0 => 4
1 => 193
2 => 3.0
]
]
2 => array:5 [
"_index" => "ppmcdev_2_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_41028"
"_score" => 3.0
"sort" => array:3 [
0 => 4
1 => 180
2 => 3.0
]
]
3 => array:5 [
"_index" => "ppmcdev_2_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_41098"
"_score" => 3.0
"sort" => array:3 [
0 => 4
1 => 87
2 => 3.0
]
]
4 => array:5 [
"_index" => "ppmcdev_2_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_40366"
"_score" => 3.0
"sort" => array:3 [
0 => 4
1 => 73
2 => 3.0
]
]
5 => array:5 [
"_index" => "ppmcdev_2_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_38157"
"_score" => 3.0
"sort" => array:3 [
0 => 4
1 => 58
2 => 3.0
]
]
6 => array:5 [
"_index" => "ppmcdev_2_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_39683"
"_score" => 3.0
"sort" => array:3 [
0 => 4
1 => 51
2 => 3.0
]
]
7 => array:5 [
"_index" => "ppmcdev_2_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_36911"
"_score" => 3.0
"sort" => array:3 [
0 => 100
1 => 118
2 => 3.0
]
]
8 => array:5 [
"_index" => "ppmcdev_2_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_37157"
"_score" => 3.0
"sort" => array:3 [
0 => 100
1 => 35
2 => 3.0
]
]
9 => array:5 [
"_index" => "ppmcdev_2_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_37793"
"_score" => 3.0
"sort" => array:3 [
0 => 100
1 => 16
2 => 3.0
]
]
10 => array:5 [
"_index" => "ppmcdev_2_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_41057"
"_score" => 3.0
"sort" => array:3 [
0 => 100
1 => 8
2 => 3.0
]
]
11 => array:5 [
"_index" => "ppmcdev_2_fr_fr"
"_type" => "_doc"
"_id" => "VARIANT_40770"
"_score" => 3.0
"sort" => array:3 [
0 => 100
1 => 6
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/sacs/cartable-maternelle"