PHP code example of mvenghaus / m2-module-elasticsuite-debug
1. Go to this page and download the library: Download mvenghaus/m2-module-elasticsuite-debug library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
mvenghaus / m2-module-elasticsuite-debug example snippets
/** @var \Smile\ElasticsuiteCore\Search\RequestInterface $request */
\Mvenghaus\ElasticsuiteDebug\ElasticsuiteDebug::debugRequest($request);
/** @var \Smile\ElasticsuiteCatalog\Model\ResourceModel\Product\Fulltext\Collection $productCollection */
\Mvenghaus\ElasticsuiteDebug\ElasticsuiteDebug::debugCollection($productCollection);