HEX
Server: Microsoft-IIS/8.5
System: Windows NT YDAWBH120 6.3 build 9600 (Windows Server 2012 R2 Standard Edition) AMD64
User: tentjecom_web (0)
PHP: 7.4.14
Disabled: NONE
Upload Files
File: D:/HostingSpaces/Lacom/lacom.nl/app/KommaApp/Kms/Core/SearchIndex/SearchIndexController.php
<?php //namespace App\KommaApp\Kms\Core\SearchIndex;
//
//use Illuminate\Routing\Controller;
//use App\KommaApp\Kms\Categories\CategoryRepository;
//use App\KommaApp\Categories\Models\CategoryTranslation;
//use App\KommaApp\Pages\Models\PageTranslation;
//use App\KommaApp\Pages\PageRepository;
//use App\KommaApp\Products\Models\SiteProduct;
//use App\KommaApp\Kms\Products\ProductRepository;
//
///**
// *
// *
// * @author      Komma <info@komma.pro>
// * @copyright   (c) 2012-2016, Komma
// */
//
//class SearchIndexController extends Controller
//{
//    /**
//     * @var CategoryRepository
//     */
//    protected $categoryRepository;
//
//    /**
//     * @var PageRepository
//     */
//    protected $pageRepository;
//
//    /**
//     * @var ProductRepository
//     */
//    protected $productRepository;
//
//    /**
//     * @var SearchIndexService
//     */
//    protected $searchIndexService;
//
//    function __construct(
//        CategoryRepository $categoryRepository,
//        PageRepository $pageRepository,
//        ProductRepository $productRepository,
//        SearchIndexService $searchIndexService
//    )
//    {
//        $this->categoryRepository = $categoryRepository;
//        $this->pageRepository = $pageRepository;
//        $this->productRepository = $productRepository;
//        $this->searchIndexService = $searchIndexService;
//    }
//
//    public function reindexAll()
//    {
//
//        $this->searchIndexService->reindex('all');
//
//        return 'Search index updated';
//    }
//
//
//}