FEATURE: register file searching

This commit is contained in:
Michal Kváček
2016-03-15 14:00:53 +01:00
parent b3da43921b
commit 6f50549072
4 changed files with 63 additions and 4 deletions
@@ -0,0 +1,19 @@
<?php
namespace App\Handlers\Search\Presenters;
use App\Handlers\Contracts\SearchPresenterHandler;
class AdminFiles implements SearchPresenterHandler
{
/**
* Method for rendering list of found results
*
* @param $foundItems
*
* @return mixed
*/
public function render($foundItems)
{
return view('admin.fileManager.filesTiles', ['files' => $foundItems]);
}
}