linux-questionnaire/src/Questionnaire/Parser/ParserInterface.php
2015-03-02 20:07:17 +01:00

28 lines
498 B
PHP

<?php
namespace Questionnaire\Parser;
use Symfony\Component\Console\Output\OutputInterface;
interface ParserInterface
{
/**
* Parses data into given output.
*/
public function stream(OutputInterface $output);
/**
* Captures the stream output into a string buffer.
*
* @return string
*/
public function capture();
/**
* Writes the stream output into given file.
*
* @param string $file
*/
public function save($file);
}