mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-09-22 03:56:42 +00:00
46 lines
970 B
PHP
46 lines
970 B
PHP
![]() |
<?php
|
||
|
/**
|
||
|
* ConfigurationInterface.php
|
||
|
* Copyright (c) 2017 thegrumpydictator@gmail.com
|
||
|
* This software may be modified and distributed under the terms of the Creative Commons Attribution-ShareAlike 4.0 International License.
|
||
|
*
|
||
|
* See the LICENSE file for details.
|
||
|
*/
|
||
|
|
||
|
declare(strict_types=1);
|
||
|
|
||
|
namespace FireflyIII\Support\Import\Configuration;
|
||
|
|
||
|
use FireflyIII\Models\ImportJob;
|
||
|
|
||
|
/**
|
||
|
* Class ConfigurationInterface
|
||
|
*
|
||
|
* @package FireflyIII\Support\Import\Configuration
|
||
|
*/
|
||
|
interface ConfigurationInterface
|
||
|
{
|
||
|
/**
|
||
|
* ConfigurationInterface constructor.
|
||
|
*
|
||
|
* @param ImportJob $job
|
||
|
*/
|
||
|
public function __construct(ImportJob $job);
|
||
|
|
||
|
/**
|
||
|
* Get the data necessary to show the configuration screen.
|
||
|
*
|
||
|
* @return array
|
||
|
*/
|
||
|
public function getData(): array;
|
||
|
|
||
|
/**
|
||
|
* Store the result.
|
||
|
*
|
||
|
* @param array $data
|
||
|
*
|
||
|
* @return bool
|
||
|
*/
|
||
|
public function storeConfiguration(array $data): bool;
|
||
|
|
||
|
}
|