Files
firefly-iii/app/Helpers/Csv/Converter/ConverterInterface.php

45 lines
692 B
PHP
Raw Normal View History

2015-07-05 06:18:02 +02:00
<?php
2016-02-05 12:08:25 +01:00
declare(strict_types = 1);
2015-07-05 06:18:02 +02:00
namespace FireflyIII\Helpers\Csv\Converter;
/**
* Interface ConverterInterface
*
* @package FireflyIII\Helpers\Csv\Converter
*/
interface ConverterInterface
{
/**
* @return mixed
*/
public function convert();
2015-07-06 16:52:18 +02:00
/**
* @param array $data
*/
public function setData(array $data);
/**
* @param string $field
*
*/
public function setField($field);
2015-07-05 06:18:02 +02:00
/**
2015-07-05 06:26:34 +02:00
* @param int $index
2015-07-05 06:18:02 +02:00
*/
public function setIndex($index);
/**
2015-07-05 06:26:34 +02:00
* @param array $mapped
2015-07-05 06:18:02 +02:00
*/
public function setMapped($mapped);
/**
2015-07-05 06:26:34 +02:00
* @param string $value
2015-07-05 06:18:02 +02:00
*/
public function setValue($value);
2015-07-09 21:26:40 +02:00
}