public static function import($fileName, $config=[])
	{
		$config = ArrayHelper::merge(['mode' => 'import', 'fileName' => $fileName, 'asArray' => true], $config);
		return self::widget($config);
	}
public static function import($fileName, $config=[])
	{
		$config = ArrayHelper::merge(['mode' => 'import', 'fileName' => $fileName, 'asArray' => true], $config);
		return self::widget($config);
	}
public static function import ( $ fileName , $ config = [ ] ) { $ config = ArrayHelper :: merge ( [ 'mode' => 'import' , 'fileName' => $ fileName , 'asArray' => true ] , $ config ) ; return self :: widget ( $ config ) ; }
Import file excel and return into an array.

~~~

$data = \moonland\phpexcel\Excel::import($fileName, ['setFirstRecordAsKeys' => true]);

~~~

@param string!array $fileName to load.
@param array $config is a more configuration.
@return string
Import file excel and return into an array .