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

}