There are no converters that need the role of the current field.

This commit is contained in:
James Cole 2016-01-21 09:52:45 +01:00
parent cc9d1c4bfd
commit 9ce960b3d7
3 changed files with 0 additions and 24 deletions

View File

@ -18,8 +18,6 @@ class BasicConverter
/** @var array */
protected $mapped;
/** @var string */
protected $role;
/** @var string */
protected $value;
/**
@ -86,22 +84,6 @@ class BasicConverter
$this->mapped = $mapped;
}
/**
* @return string
*/
public function getRole()
{
return $this->role;
}
/**
* @param string $role
*/
public function setRole($role)
{
$this->role = $role;
}
/**
* @return string
*/

View File

@ -36,11 +36,6 @@ interface ConverterInterface
*/
public function setMapped($mapped);
/**
* @param string $role
*/
public function setRole($role);
/**
* @param string $value
*/

View File

@ -255,7 +255,6 @@ class Importer
$converter->setIndex($index);
$converter->setMapped($this->mapped);
$converter->setValue($value);
$converter->setRole($role);
$data[$field] = $converter->convert();
}
// move to class vars.