Towards managing mapping for file imports.

This commit is contained in:
James Cole
2018-05-06 16:19:29 +02:00
parent 9e3c5fd984
commit a3cbdadb39
11 changed files with 868 additions and 84 deletions

View File

@@ -30,6 +30,15 @@ use Illuminate\Support\MessageBag;
*/
interface ConfigurationInterface
{
/**
* Store data associated with current stage.
*
* @param array $data
*
* @return MessageBag
*/
public function configureJob(array $data): MessageBag;
/**
* Get the data necessary to show the configuration screen.
*
@@ -39,17 +48,6 @@ interface ConfigurationInterface
/**
* @param ImportJob $job
*
* @return ConfigurationInterface
*/
public function setJob(ImportJob $job);
/**
* Store data associated with current stage.
*
* @param array $data
*
* @return MessageBag
*/
public function configureJob(array $data): MessageBag;
public function setJob(ImportJob $job): void;
}