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

21 lines
426 B
PHP
Raw Normal View History

<?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);
}