File: D:/HostingSpaces/SBogers10/veltech.komma.pro/app/Komma/Kms/Dashboard/DashboardService.php
<?php
namespace App\Komma\Kms\Dashboard;
use App\Komma\Kms\Core\Sections\SectionService;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Storage;
use Illuminate\Support\MessageBag;
use Symfony\Component\HttpFoundation\StreamedResponse;
/**
* Class ImportExportService
*
* Directs Import and Export services to do their job.
* And is responsible for loading and offering files for download
*
* @package App\Komma\Kms\Dashboard
*/
class DashboardService extends SectionService
{
protected $sortable = true;
/**
* @var string The name of the file input field
*/
public static $fileInputFieldName = 'File-file';
/**
* DashboardService constructor.
*
*/
public function __construct()
{
if(self::$fileInputFieldName == '')
throw new \RuntimeException('Please set the static $inputFieldName variable to the input field name the dashboard service should import files from');
$this->forModelName = null;
}
}