. */ /* */ /*************************************************************************************/ namespace FreeShipping\Format; /** * Class CSVLine * @package FreeShipping\Format * @author Thelia */ class CSVLine { protected $values=array(); public function __construct(array $values) { $this->values = $values; } /** * @param array $values * @return CSVLine */ public static function create(array $values) { return new static($values); } /** * @return array */ public function getValues() { return $this->values; } /** * @param $value * @return $this */ public function addValue($value) { $this->values[] = $value; return $this; } }