mirror of
https://github.com/solidtime-io/solidtime.git
synced 2026-08-16 20:22:15 +01:00
Added import system
This commit is contained in:
16
app/Service/Import/Importers/ImporterContract.php
Normal file
16
app/Service/Import/Importers/ImporterContract.php
Normal file
@@ -0,0 +1,16 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace App\Service\Import\Importers;
|
||||
|
||||
use App\Models\Organization;
|
||||
|
||||
interface ImporterContract
|
||||
{
|
||||
public function init(Organization $organization): void;
|
||||
|
||||
public function importData(string $data, array $options): void;
|
||||
|
||||
public function getReport(): ReportDto;
|
||||
}
|
||||
Reference in New Issue
Block a user