westdc-zf1/application/module/Goodby/CSV/Import/Protocol/LexerInterface.php

21 lines
426 B
PHP
Raw Normal View History

2015-01-28 03:48:30 +00:00
<?php
namespace Goodby\CSV\Import\Protocol;
use Goodby\CSV\Import\Protocol\Exception\CsvFileNotFoundException;
/**
* Interface of Lexer
*/
interface LexerInterface
{
/**
* Parse csv file
* @param string $filename
* @param InterpreterInterface $interpreter
* @return boolean
* @throws CsvFileNotFoundException
*/
public function parse($filename, InterpreterInterface $interpreter);
}