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';
// }
//
//
//}