Blame view

console/controllers/ParserController.php 390 Bytes
f0dbd829   Mihail   add PriceWriter a...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
  <?php
  /**
   * Created by PhpStorm.
   * User: Cibermag
   * Date: 30.09.2015
   * Time: 14:38
   */
  use yii\console\Controller;
  
  class ParserController extends Controller{
      public function actionParseCSV ()
      {
  
      }
      public function actionParseXML ()
      {
  
      }
      protected function parseFileConsole( $file_path ){
  
          $data = Yii::$app->multiparser->parse( $file_path );
  
      }
  }