예제 #1
0
 /**
  * @param ArrayConverterInterface   $arrayConverter
  * @param BufferFactory             $bufferFactory
  * @param FlatItemBufferFlusher     $flusher
  */
 public function __construct(ArrayConverterInterface $arrayConverter, BufferFactory $bufferFactory, FlatItemBufferFlusher $flusher)
 {
     parent::__construct();
     $this->arrayConverter = $arrayConverter;
     $this->bufferFactory = $bufferFactory;
     $this->flusher = $flusher;
 }
예제 #2
0
 /**
  * @param string $header
  */
 public function __construct($header = null)
 {
     parent::__construct();
     $this->header = $header;
 }
예제 #3
0
 /**
  * {@inheritdoc}
  */
 public function getConfigurationFields()
 {
     $configuration = parent::getConfigurationFields();
     $configuration = $configuration + ['header' => ['header' => null, 'options' => ['label' => 'pim_connector.export.header.label']]];
     return $configuration;
 }
예제 #4
0
 /**
  * {@inheritdoc}
  */
 public function getConfigurationFields()
 {
     return array_merge(parent::getConfigurationFields(), ['delimiter' => ['options' => ['label' => 'pim_connector.export.delimiter.label', 'help' => 'pim_connector.export.delimiter.help']], 'enclosure' => ['options' => ['label' => 'pim_connector.export.enclosure.label', 'help' => 'pim_connector.export.enclosure.help']], 'withHeader' => ['type' => 'switch', 'options' => ['label' => 'pim_connector.export.withHeader.label', 'help' => 'pim_connector.export.withHeader.help']]]);
 }
예제 #5
0
 /**
  * {@inheritdoc}
  */
 public function getConfigurationFields()
 {
     $configuration = parent::getConfigurationFields();
     $configuration = $configuration + ['header' => ['header' => null]];
     return $configuration;
 }