Logo white

Administrator / test_1

Sign in
  • Sign in
  • Project
  • Files
  • Commits
  • Network
  • Graphs
  • Milestones
  • Issues 0
  • Merge Requests 0
  • Labels
  • Wiki
  • test_1
  • backend
  • components
  • parsers
  • ParserConfigurator.php
  • add parser interface and Parser configurator
    f90f5f26
    Mihail authored
    2015-09-04 18:29:01 +0300  
    Browse Code ยป
ParserConfigurator.php 406 Bytes
Edit Raw Blame History
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,
        ];
    }

}