mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-01-08 07:03:23 -06:00
50 lines
746 B
PHP
50 lines
746 B
PHP
<?php
|
|
|
|
namespace FireflyIII\Helpers\Csv\Converter;
|
|
|
|
/**
|
|
* Interface ConverterInterface
|
|
*
|
|
* @package FireflyIII\Helpers\Csv\Converter
|
|
*/
|
|
interface ConverterInterface
|
|
{
|
|
|
|
/**
|
|
* @return mixed
|
|
*/
|
|
public function convert();
|
|
|
|
/**
|
|
* @param array $data
|
|
*/
|
|
public function setData(array $data);
|
|
|
|
/**
|
|
* @param string $field
|
|
*
|
|
*/
|
|
public function setField($field);
|
|
|
|
/**
|
|
* @param int $index
|
|
*/
|
|
public function setIndex($index);
|
|
|
|
/**
|
|
* @param array $mapped
|
|
*/
|
|
public function setMapped($mapped);
|
|
|
|
/**
|
|
* @param string $role
|
|
*/
|
|
public function setRole($role);
|
|
|
|
/**
|
|
* @param string $value
|
|
*/
|
|
public function setValue($value);
|
|
|
|
}
|