32 lines
511 B
PHP
32 lines
511 B
PHP
<?php
|
|
/**
|
|
* Created by PhpStorm.
|
|
* User: liujin834
|
|
* Date: 15-1-27
|
|
* Time: 下午3:10
|
|
*/
|
|
|
|
namespace Westdc\Dataimport;
|
|
|
|
interface ProcessingInterface {
|
|
|
|
/**
|
|
* 初始化
|
|
* @param $file
|
|
*/
|
|
public function init($file);
|
|
|
|
/**
|
|
* 检查数据文件是否规整
|
|
* @return mixed
|
|
*/
|
|
public function checkRegularity();
|
|
|
|
/**
|
|
* 检查字段是否对应
|
|
* @param array $fields
|
|
* @return mixed
|
|
*/
|
|
public function checkTableField(array $fields);
|
|
|
|
} |