File: D:/HostingSpaces/SBogers10/rentman.komma.pro/app/Komma/Tables/Composers/ComparePackageComposer.php
<?php
namespace Komma\Tables\Composers;
use Komma\Tables\TableService;
class ComparePackageComposer {
private $tableService;
/**
* @return mixed
*/
public function __construct(TableService $tableService)
{
$this->tableService = $tableService;
}
/**
* Making the breadcrumb by getting the url segments
*
* @param $view
*/
public function compose($view){
$tables = $this->tableService->getTablesWhere('type', 'compare-packages');
$view->with('tables', $tables);
}
}