1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
<?php /** * Created by PhpStorm. * User: Cibermag * Date: 07.09.2015 * Time: 15:56 */ namespace yii\multiparser; use yii\base\Component; class YiiMultiparser extends Component{ public function parse( $filePath, $options = [] ){ $parser = new YiiParserHandler( $filePath, $options ); return $parser->run(); } }