Lots of import related code.

This commit is contained in:
James Cole
2016-07-15 22:26:08 +02:00
parent f5b3dc36e3
commit c9e46a4dd1
19 changed files with 609 additions and 41 deletions

View File

@@ -0,0 +1,43 @@
<?php
/**
* ConverterInterface.php
* Copyright (C) 2016 thegrumpydictator@gmail.com
*
* This software may be modified and distributed under the terms
* of the MIT license. See the LICENSE file for details.
*/
declare(strict_types = 1);
namespace FireflyIII\Import\Converter;
use FireflyIII\User;
/**
* Interface ConverterInterface
*
* @package FireflyIII\Import\Converter
*/
interface ConverterInterface
{
/**
* @param $value
*
*/
public function convert($value);
/**
* @param bool $doMap
*/
public function setDoMap(bool $doMap);
/**
* @param array $mapping
*
*/
public function setMapping(array $mapping);
/**
* @param User $user
*/
public function setUser(User $user);
}