Rename import/export, fix tests with parser
This commit is contained in:
@@ -11,10 +11,10 @@ use League\Csv\CharsetConverter;
|
||||
use League\Csv\Writer;
|
||||
|
||||
/**
|
||||
* Class ImporterService
|
||||
* Class ExportService
|
||||
* @package App\Services
|
||||
*/
|
||||
class ExporterService extends Service
|
||||
class ExportService extends Service
|
||||
{
|
||||
protected $flightRepo;
|
||||
|
||||
@@ -13,10 +13,10 @@ use App\Services\Import\SubfleetImporter;
|
||||
use League\Csv\Reader;
|
||||
|
||||
/**
|
||||
* Class ImporterService
|
||||
* Class ImportService
|
||||
* @package App\Services
|
||||
*/
|
||||
class ImporterService extends Service
|
||||
class ImportService extends Service
|
||||
{
|
||||
protected $flightRepo;
|
||||
|
||||
@@ -24,9 +24,7 @@ class ImporterService extends Service
|
||||
* ImporterService constructor.
|
||||
* @param FlightRepository $flightRepo
|
||||
*/
|
||||
public function __construct(
|
||||
FlightRepository $flightRepo
|
||||
) {
|
||||
public function __construct(FlightRepository $flightRepo) {
|
||||
$this->flightRepo = $flightRepo;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user