2015-07-06 13:21:55 -05:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace FireflyIII\Helpers\Csv\Specifix;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Class Dummy
|
|
|
|
*
|
|
|
|
* @package FireflyIII\Helpers\Csv\Specifix
|
|
|
|
*/
|
2016-01-20 14:24:08 -06:00
|
|
|
class Dummy extends Specifix implements SpecifixInterface
|
2015-07-06 13:21:55 -05:00
|
|
|
{
|
|
|
|
/** @var array */
|
|
|
|
protected $data;
|
|
|
|
|
|
|
|
/** @var array */
|
|
|
|
protected $row;
|
|
|
|
|
2016-01-20 14:24:08 -06:00
|
|
|
/**
|
|
|
|
* Dummy constructor.
|
|
|
|
*/
|
|
|
|
public function __construct()
|
|
|
|
{
|
|
|
|
$this->setProcessorType(self::POST_PROCESSOR);
|
|
|
|
}
|
2015-07-06 13:21:55 -05:00
|
|
|
|
|
|
|
/**
|
|
|
|
* @return array
|
|
|
|
*/
|
|
|
|
public function fix()
|
|
|
|
{
|
|
|
|
return $this->data;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @param array $data
|
|
|
|
*/
|
2016-02-05 02:25:15 -06:00
|
|
|
public function setData(array $data)
|
2015-07-06 13:21:55 -05:00
|
|
|
{
|
|
|
|
$this->data = $data;
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @param array $row
|
|
|
|
*/
|
2016-02-05 02:25:15 -06:00
|
|
|
public function setRow(array $row)
|
2015-07-06 13:21:55 -05:00
|
|
|
{
|
|
|
|
$this->row = $row;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2015-07-09 14:26:40 -05:00
|
|
|
}
|