Blame view

backend/components/parsers/ParserConfigurator.php 406 Bytes
f90f5f26   Mihail   add parser interf...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
  <?php
  /**
   * Created by PhpStorm.
   * User: Cibermag
   * Date: 04.09.2015
   * Time: 18:17
   */
  
  namespace backend\components\parsers;
  
  
  class ParserConfigurator {
      public static function getConfiguration ()
      {
          return [
              'class' => 'backend\components\parsers\CustomCsvParser',
          //    'file' => $this->fileObject,
              'auto_detect_first_line' => true,
          ];
      }
  
  }