<?php
namespace App\Komma\Kms\Dashboard;
use App\Komma\Kms\Core\ModelService;
/**
* 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 ModelService
{
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;
}
}